Remove --all option from 'docs:package' command

Ref #25.
pull/308/merge
Thibaut Courouble 9 years ago
parent d20156e1f1
commit b04dba012e

@ -102,11 +102,10 @@ class DocsCLI < Thor
handle_doc_not_found_error(error)
end
desc 'package (<doc> <doc@version>... | --all)', 'Package documentations'
option :all, type: :boolean
desc 'package <doc> <doc@version>...', 'Package documentations'
def package(*names)
require 'unix_utils'
docs = options[:all] ? Docs.all : find_docs(names)
docs = find_docs(names)
assert_docs(docs)
docs.each(&method(:package_doc))
puts 'Done'

Loading…
Cancel
Save