Class: Bump::CLI

Inherits:
Object
  • Object
show all
Defined in:
lib/bump/cli.rb,
lib/bump/cli/uuid.rb,
lib/bump/cli/version.rb,
lib/bump/cli/resource.rb,
lib/bump/cli/definition.rb,
lib/bump/cli/references.rb,
lib/bump/cli/commands/base.rb,
lib/bump/cli/commands/deploy.rb,
lib/bump/cli/commands/preview.rb,
lib/bump/cli/commands/validate.rb

Defined Under Namespace

Modules: Commands Classes: Definition, References, Resource, UUID

Constant Summary collapse

ROOT_URL =
"https://bump.sh".freeze
API_PATH =
"/api/v1".freeze
API_URL =
ROOT_URL + API_PATH
VERSION =
"0.8.0"

Instance Method Summary collapse

Instance Method Details

#call(*args) ⇒ Object



11
12
13
14
15
16
17
18
19
20
21
# File 'lib/bump/cli.rb', line 11

def call(*args)
  warn ":WARNING:"
  warn "  This Bump CLI is now legacy and will not be maintained any further."
  warn ""
  warn "  Please update to our new v2.x CLI available at https://github.com/bump-sh/cli"
  warn "  You can install the new Bump CLI with 'npm install -g bump-cli'"
  warn "                                     or 'yarn global add bump-cli'"
  warn ":WARNING:"
  warn ""
  Dry::CLI.new(Commands).call(*args)
end