Sha256: 9b00ca3c57e9acfae2234a93f48952f17c83431d96d345972fe58e17830f8fc4
Contents?: true
Size: 689 Bytes
Versions: 5
Compression:
Stored size: 689 Bytes
Contents
#!/usr/bin/env ruby desc "lala" task "top-level" do Hobo.ui.info "top level" end namespace :test do desc "Does non-interactive things" task 'non-interactive' do Hobo.ui.info Hobo.ui.ask "A question", default: "Used defaults" end task "subcommand" do Hobo.ui.info "Subcommand test" end desc "description" long_desc "long description" option "-o", "--option", "Option description" hidden true task "metadata", [ :arg ] do Hobo.ui.info "metadata" end option "--testing=", "description" task 'option-test' do |task| Hobo.ui.info task.opts[:testing] end task 'argument-test', [ :test ] do |task, args| Hobo.ui.info args[:test] end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
hobo-inviqa-0.0.7 | Hobofile |
hobo-inviqa-0.0.6 | Hobofile |
hobo-inviqa-0.0.4 | Hobofile |
hobo-inviqa-0.0.3 | Hobofile |
hobo-inviqa-0.0.2 | Hobofile |