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.
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.