Sha256: 9b030dd0392f2464747d9ef78a4870a8b557fc2df3207caa6629d515ce743011

Contents?: true

Size: 411 Bytes

Versions: 1

Compression:

Stored size: 411 Bytes

Contents

class TcCli
  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

1 entries across 1 versions & 1 rubygems

Version Path
techcor-0.0.1 lib/commands/gli/list.rb