Sha256: a6fe8e07b0de2d22a70e1403a3738dd0de2b3a45b7742f343cf0b1ce60ffa188
Contents?: true
Size: 367 Bytes
Versions: 10
Compression:
Stored size: 367 Bytes
Contents
module Percheron module Commands class Graph < Abstract parameter('STACK_NAME', 'stack name', required: true) option([ '-o', '--output' ], 'OUTPUT', 'Output file') def execute super stack.graph!(output || default_output) end def default_output 'percheron_%s.png' % stack.name end end end end
Version data entries
10 entries across 10 versions & 1 rubygems