Method: CF::Table::CLI.run

Defined in:
lib/cf/table/cli.rb

.runObject



7
8
9
10
11
12
13
14
# File 'lib/cf/table/cli.rb', line 7

def self.run
  if ARGV.empty? && table.send(:columns_width) > term_cols
    puts "Table too wide, please select some columns:"
    puts keys_table
  else
    puts table
  end
end