This is the toplevel "main" command.
New Usage.
[Source]
# File lib/clio/usage/command.rb, line 15 def initialize(name=nil, &block) name ||= File.basename($0) super(name, &block) end
Cache usage into a per-user cache file for reuse. This can be used to greatly speed up tab completion.
# File lib/clio/usage/command.rb, line 138 def cache File.open(cache_file, 'w'){ |f| f << to_yaml } end
# File lib/clio/usage/command.rb, line 131 def parse(argv) Parser.new(self, argv).parse #(argv) end
[Validate]