Sha256: 1ed11574c1a26d73009c865d7b76ec17f3549e5b4d36f175468eaa0d94c5a4c7

Contents?: true

Size: 255 Bytes

Versions: 9

Compression:

Stored size: 255 Bytes

Contents

module <%= project_class_name %>
  class Completions < Command
    desc "script", "generates script that can be eval to setup auto-completion"
    long_desc Help.text("completions:script")
    def script
      Completer::Script.generate
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cli-template-4.0.2 lib/templates/colon_namespaces/lib/%underscored_name%/completions.rb.tt
cli-template-4.0.1 lib/templates/colon_namespaces/lib/%underscored_name%/completions.rb.tt
cli-template-4.0.0 lib/templates/colon_namespaces/lib/%underscored_name%/completions.rb.tt
cli-template-3.5.1 lib/templates/colon_namespaces/lib/%underscored_name%/completions.rb.tt
cli-template-3.5.0 lib/templates/colon_namespaces/lib/%underscored_name%/completions.rb.tt
cli-template-3.4.0 lib/templates/colon_namespaces/lib/%underscored_name%/completions.rb.tt
cli-template-3.3.0 lib/templates/colon_namespaces/lib/%underscored_name%/completions.rb.tt
cli-template-3.2.0 lib/templates/colon_namespaces/lib/%underscored_name%/completions.rb.tt
cli-template-3.1.0 lib/templates/default/lib/%underscored_name%/completions.rb.tt