Class: RepoManager::PathAction
- Inherits:
-
AppAction
- Object
- BaseAction
- AppAction
- RepoManager::PathAction
- Defined in:
- lib/repo_manager/actions/path_action.rb
Overview
Show repository path contained in the configuration file to STDOUT.
Alias for ‘repo list –list=path’
Instance Attribute Summary
Attributes inherited from BaseAction
#args, #configuration, #exit_code, #option_parser, #options, #output, #template
CLI actions collapse
Methods inherited from AppAction
Methods inherited from BaseAction
#after_execute, #asset_options, #asset_type, #assets, #before_execute, #initialize, #items, #overwrite_output?, #parse_options, #process, #render, #write_to_output
Constructor Details
This class inherits a constructor from RepoManager::BaseAction
Instance Method Details
#execute ⇒ Object
14 15 16 |
# File 'lib/repo_manager/actions/path_action.rb', line 14 def execute RepoManager::ListAction.new(args.push('--list=path'), configuration).execute end |
#help ⇒ Object
18 19 20 |
# File 'lib/repo_manager/actions/path_action.rb', line 18 def help super :comment_starting_with => "Show repository path", :located_in_file => __FILE__ end |