Sha256: 2adeb97669516a262f39d285ffd22f86f0ed46fdc3dd6f3b20bc924073ee93c1
Contents?: true
Size: 352 Bytes
Versions: 2
Compression:
Stored size: 352 Bytes
Contents
module Intent module Commands class Intent < Base def run(args, output) if args.empty? print_help(output) else case args.first.to_sym when :help print_help(output) else raise Core::Errors::COMMAND_NOT_FOUND end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
intent-0.8.1 | lib/intent/commands/intent.rb |
intent-0.8.0 | lib/intent/commands/intent.rb |