Sha256: 1c8d52ced8bf1c310472e46408ec581b89185f486ee40df6bf8397733e790fed

Contents?: true

Size: 433 Bytes

Versions: 2

Compression:

Stored size: 433 Bytes

Contents

class TechcorCli
  desc "List projects from catalog"
  long_desc "Lists projects from catalog matching specified criteria"
  arg_name '{criteria}'
  command :list do |command|
    command.arg_name 'table format'
    command.desc 'ruby code for table format'
    command.flag :fm, :format

    command.action do |global, options, args|
      puts ListProjects.new(options[:format], args.first).call ConsoleFormatter
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
techcor-0.0.10 lib/commands/gli/list.rb
techcor-0.0.9 lib/commands/gli/list.rb