Class: Autoproj::CLI::MainDoc
- Inherits:
-
Thor
- Object
- Thor
- Autoproj::CLI::MainDoc
- Defined in:
- lib/autoproj/cli/main_doc.rb
Instance Method Summary collapse
- #disable(*packages) ⇒ Object
- #enable(*packages) ⇒ Object
- #exec(*packages) ⇒ Object
- #list(*packages) ⇒ Object
Instance Method Details
#disable(*packages) ⇒ Object
41 42 43 44 45 46 47 48 |
# File 'lib/autoproj/cli/main_doc.rb', line 41 def disable(*packages) require "autoproj/cli/doc" report(silent: true) do cli = Doc.new args = cli.(packages, ) cli.disable(*args) end end |
#enable(*packages) ⇒ Object
29 30 31 32 33 34 35 36 |
# File 'lib/autoproj/cli/main_doc.rb', line 29 def enable(*packages) require "autoproj/cli/doc" report(silent: true) do cli = Doc.new args = cli.(packages, ) cli.enable(*args) end end |