Single "word" on a command line to complete. It contains trailing spaces to recognize whether the word is complete or not. --param[ ]* or -flag[ ]* or ['"]?word?[ ]*
# File lib/hammer_cli/completer.rb, line 29 def complete? if quoted? @original.strip.gsub(/^['"].*['"][\s]*$/, '') == "" else @original[-1,1] == " " end end
Generated with the Darkfish Rdoc Generator 2.