adding-help: commit enabled help

This commit is contained in:
rkiel
2015-06-07 20:49:23 -04:00
parent fd2b6fb181
commit 8ce035330d
11 changed files with 55 additions and 58 deletions

View File

@@ -7,11 +7,19 @@ module Feature
true
end
def usage
exit
def help
"feature help"
end
def execute
puts
# TODO: fix this
commander = Feature::Commander.new(argv)
commander.subcommands.keys.sort.each do |key|
cmd = commander.subcommands[key]
puts cmd.help
end
puts
end
end