Sha256: 968f7f3570ad5ee26c9513a00c6192a99fcd278f8d7b5fc7ba2a54909709f097

Contents?: true

Size: 476 Bytes

Versions: 3

Compression:

Stored size: 476 Bytes

Contents

module RepoManager

  # @group CLI actions
  #
  # Show repository path contained in the configuration file to STDOUT.
  #
  # @example Usage: repo path
  #
  # Alias for 'repo list --list=path'
  #
  # @see #list
  class PathAction < AppAction

    def execute
      RepoManager::ListAction.new(args.push('--list=path'), configuration).execute
    end

    def help
      super :comment_starting_with => "Show repository path", :located_in_file => __FILE__
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
repo_manager-0.7.3 lib/repo_manager/actions/path_action.rb
repo_manager-0.7.2 lib/repo_manager/actions/path_action.rb
repo_manager-0.7.1 lib/repo_manager/actions/path_action.rb