Class: Treyja::Command::Help

Inherits:
Object
  • Object
show all
Defined in:
lib/treyja/command/help.rb

Instance Method Summary collapse

Instance Method Details

#runObject



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/treyja/command/help.rb', line 4

def run
  puts "Usage: treyja COMMAND [FILE] [OPTIONS]\n\n  If FILE is not given, it reads from STDIN.\n\nAvailable options:\n  -h,--help                Show this help text\n  --output DIR             Directory to output images\n  --normalize              Normalize floating values (image only)\n  --round INT              Digit to round floating values (default: 4)\n\nAvailable commands:\n  json                     Output tensors in JSON format\n  csv                      Output tensors in CSV format\n  image                    Create png images and output to DIR\n  dump                     Dump in the format of inner expression\n"
end