Sha256: aa80b32cf01c0ff83ed6311cc81ee8237368a42e29cfdad0cb2517aa0bbd599b
Contents?: true
Size: 991 Bytes
Versions: 3
Compression:
Stored size: 991 Bytes
Contents
module S3Secure class CLI < Command class_option :verbose, type: :boolean class_option :noop, type: :boolean desc "encryption SUBCOMMAND", "encryption subcommands" long_desc Help.text(:encryption) subcommand "encryption", Encryption desc "policy SUBCOMMAND", "policy subcommands" long_desc Help.text(:policy) subcommand "policy", Policy desc "batch *PARAMS", "Batch wrapper method" long_desc Help.text(:batch) def batch(*params) Batch.new(*params).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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
s3-secure-0.3.0 | lib/s3_secure/cli.rb |
s3-secure-0.2.0 | lib/s3_secure/cli.rb |
s3-secure-0.1.0 | lib/s3_secure/cli.rb |