Sha256: 7f81f8e1403045f4e0b0a17808500d15178caff394d1a495fbc8829c4d2f8d20
Contents?: true
Size: 479 Bytes
Versions: 1
Compression:
Stored size: 479 Bytes
Contents
module TrelloCli module CLI module Commands module Shared def actions(obj = self) (obj.methods - obj.class.superclass.instance_methods).sort - shared_methods end def shared_methods TrelloCli::CLI::Commands::Shared.instance_methods end def help puts "Valid Sub Commands: #{actions.join(' ')}" puts "For further help, append -h to sub command." end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
trello_cli-0.0.2 | lib/trello_cli/cli/commands/shared.rb |