Sha256: d0ba68715303606880b0ec2ed7700a3af3ef16c1ab8e9dfe2535bbb922ade267
Contents?: true
Size: 771 Bytes
Versions: 2
Compression:
Stored size: 771 Bytes
Contents
module HerokuConfig class CLI < Command class_option :verbose, type: :boolean class_option :noop, type: :boolean desc "aws-rotate APP", "Say aws_rotate to APP" long_desc Help.text(:aws_rotate) def aws_rotate(app) AwsRotate.new(options.merge(app: app)).run end desc "completion *PARAMS", "Prints words for auto-completion." long_desc Help.text("completion") def completion(*params) Completer.new(CLI, *params).run end desc "completion_script", "Generates a script that can be eval to setup auto-completion." long_desc Help.text("completion_script") def completion_script Completer::Script.generate end desc "version", "prints version" def version puts VERSION end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
heroku-config-0.2.0 | lib/heroku_config/cli.rb |
heroku-config-0.1.0 | lib/heroku_config/cli.rb |