cloudmesh / cloudmesh-flow

Workflow for cloudmesh
Other
1 stars 1 forks source link

future work: support adding flow strings directly in command line #23

Open robludwig opened 5 years ago

robludwig commented 5 years ago

Right now we support loading a flow string (like a ; b ; (c || d) ) only when it's part of a YAML file. There is a function in WorkFlow file (cloudmesh/flow/WorkFlow) that parses these strings, so it should be quite simple to wire that up to the command line parser and insert it into the DB.

Unfortunately, the main issue is that you need to use double quotes on the command line (because you're using bash special chars like pipe and semicolon), but those are not yet parsed easily in the cms system.

laszewsk commented 5 years ago

make sure you document the current method in the manual