Method: Thor::Invocation#current_command_chain
- Defined in:
- lib/thor/invocation.rb
#current_command_chain ⇒ Object
Make the current command chain accessible with in a Thor-(sub)command
34 35 36 |
# File 'lib/thor/invocation.rb', line 34 def current_command_chain @_invocations.values.flatten.map(&:to_sym) end |