Sha256: 064d32c83c7c2e72f35989441d7e372f785ad5ea5ad42789ccb48ad5d84ef1e2

Contents?: true

Size: 689 Bytes

Versions: 2

Compression:

Stored size: 689 Bytes

Contents

# encoding: UTF-8

require 'commander/import'

require 'commands/workflows'

program :name, 'Factor.io Server'
program :version, Factor::VERSION
program :description, 'Factor.io Server to run workflows'

command 'server' do |c|
  c.syntax = 'factor server [options]'
  c.description = 'Start the Factor.io Server in the current local directory'
  c.option '--log FILE', String, 'Log file path. Default is stdout.'
  c.option '--credentials FILE', String, 'credentials.yml file path.'
  c.option '--connectors FILE', String, 'connectors.yml file path'
  c.option '--path FILE', String, 'Path to workflows'
  c.when_called Factor::Commands::Workflow, :server
end

alias_command 's', 'server'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
factor-0.5.05 lib/cli.rb
factor-0.5.04 lib/cli.rb