Sha256: ca9582b1af6c9c6041ce16791f6d74539c076e5e2cdf7caba48140523f81fa3c

Contents?: true

Size: 639 Bytes

Versions: 13

Compression:

Stored size: 639 Bytes

Contents

module TerraspaceBundler
  class CLI < Command
    desc "bundle SUBCOMMAND", "bundle subcommands"
    long_desc Help.text(:bundle)
    subcommand "bundle", Bundle

    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

13 entries across 13 versions & 1 rubygems

Version Path
terraspace-bundler-0.5.0 lib/terraspace_bundler/cli.rb
terraspace-bundler-0.4.4 lib/terraspace_bundler/cli.rb
terraspace-bundler-0.4.3 lib/terraspace_bundler/cli.rb
terraspace-bundler-0.4.2 lib/terraspace_bundler/cli.rb
terraspace-bundler-0.4.1 lib/terraspace_bundler/cli.rb
terraspace-bundler-0.4.0 lib/terraspace_bundler/cli.rb
terraspace-bundler-0.3.4 lib/terraspace_bundler/cli.rb
terraspace-bundler-0.3.3 lib/terraspace_bundler/cli.rb
terraspace-bundler-0.3.2 lib/terraspace_bundler/cli.rb
terraspace-bundler-0.3.1 lib/terraspace_bundler/cli.rb
terraspace-bundler-0.3.0 lib/terraspace_bundler/cli.rb
terraspace-bundler-0.2.0 lib/terraspace_bundler/cli.rb
terraspace-bundler-0.1.0 lib/terraspace_bundler/cli.rb