Sha256: 7cb8126cfd2059c3338062b4f13fa68b669a60675a969046392bc20f2a6e83c2

Contents?: true

Size: 406 Bytes

Versions: 1

Compression:

Stored size: 406 Bytes

Contents

module Ecic
  class Completion < Command
    desc "script", "generates script that can be eval to setup auto-completion"
    long_desc Help.text("completion:script")
    def script
      Completer::Script.generate
    end

    desc "completions *PARAMS", "prints words for auto-completion"
    long_desc Help.text("completion:list")
    def list(*params)
      Completer.new(*params).run
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ecic-0.1.0 lib/ecic/completion.rb