Method: Subcommands#list_actions
- Defined in:
- lib/subcommand.rb
#list_actions ⇒ Object
Added so applications can print out a bare listing of top level commands
for dynamic custom completion.
96 97 98 99 |
# File 'lib/subcommand.rb', line 96 def list_actions @commands.each_pair do |c, opt| puts c end end |