Sha256: c3890b25343a26fdfaec13ca15c75da1afe2dee5c1f2001c3045d0363a6504f5

Contents?: true

Size: 416 Bytes

Versions: 7

Compression:

Stored size: 416 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
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
techcor-0.0.8 lib/commands/gli/list.rb
techcor-0.0.7 lib/commands/gli/list.rb
techcor-0.0.6 lib/commands/gli/list.rb
techcor-0.0.5 lib/commands/gli/list.rb
techcor-0.0.4 lib/commands/gli/list.rb
techcor-0.0.3 lib/commands/gli/list.rb
techcor-0.0.2 lib/commands/gli/list.rb