gojek / proctor

A Developer-Friendly Automation Orchestrator
Apache License 2.0
123 stars 43 forks source link

Provide free-flowing args while executing a proc #33

Open olttwa opened 5 years ago

olttwa commented 5 years ago

Currently, for providing any args to a proc, I need to pass them as K-V pairs. Example:

proctor execute grep-knife-node-list NODE_NAME=proctor-postgres

Would it make sense to pass free-flowing args while executing a proc?

Example:

proctor execute grep-knife-node-list proctor-postgres proctor-redis

Details: proctord can provide all the free flowing args as a default(convention) env var to a proc The proc will have logic to parse the args from default env.