lib/factor.rb in factor-0.5.16 vs lib/factor.rb in factor-0.6.0
- old
+ new
@@ -18,9 +18,16 @@
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
+command 'cloud' do |c|
+ c.syntax = 'factor host <account id> <workflow id> <api key>'
+ c.description = 'Start the Factor.io Server using your workflows and credentials from Factor.io Cloud'
+ c.option '--index URL', String, 'Use non-default Index server to get list of available credentials'
+ c.when_called Factor::Commands::Workflow, :cloud
+end
+
command 'registry workflows' do |c|
c.syntax = 'factor registry workflows'
c.description = 'Get list of available workflow jumpstarts'
c.when_called Factor::Commands::Registry, :workflows
end
\ No newline at end of file