Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI: Workflow tooling #209

Closed
josephjclark opened this issue Apr 13, 2023 · 1 comment
Closed

CLI: Workflow tooling #209

josephjclark opened this issue Apr 13, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@josephjclark
Copy link
Collaborator

A common use case is going to be for developers to define their own workflows to test things out locally.

Workflows are actually quite hard to write in JSON. The syntax is fiddly, you need to remember the right key names and structures, and the structure isn't always intuitive.

There are a few ways the CLI might help us out:

  • A command to generate a workflow template (with two jobs and a start)
  • An interactive command which lets you sketch out a workflow upfront, asking you for each job, what adaptor and credential it wats
  • Dedicated documentation for workflows( openfn docs workflow ?)

As a side note, it might be nice to have some way to load env vars into JSON. This is easy if we can load workflows as JS files, but maybe we can use some kind of convention like "user": "$OPENFN_SALESFORCE_USERNAME", which will load $names from the env.

@josephjclark josephjclark added the enhancement New feature or request label Apr 13, 2023
@taylordowns2000 taylordowns2000 moved this to Icebox in v2 Feb 3, 2024
@josephjclark josephjclark added the good first issue Good for newcomers label Feb 23, 2024
@josephjclark
Copy link
Collaborator Author

Closing as duplicate of #615

@github-project-automation github-project-automation bot moved this from Icebox to Done in v2 Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Archived in project
Development

No branches or pull requests

1 participant