You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current CLI documentation lacks detailed instructions on how to effectively run and re-run workflows locally. This enhancement will focus on providing clear guidance, especially on using specific options to control workflow execution.
Proposed Improvements:
Running Workflows Locally:
Add a section that explains how to run a workflow locally, emphasizing the use of the --cache-steps option to save all step results locally and avoid reprocessing. For example:
Emphasize that when re-running a workflow using --start, --end, or --only, the results will be loaded from the cache. Therefore, it's crucial to run the entire workflow first with --cache-steps enabled before using these options.
Best Practices:(Opt)
Suggest best practices for organizing workflows and managing local executions using the mentioned options.
Highlight common pitfalls and troubleshooting tips related to these options.
Using Help Command:(Opt)
Include instructions on how users can use openfn help to learn more about available commands and options within the OpenFn CLI.
Impact:
This improvement will provide users with precise control over workflow execution, reducing errors and improving efficiency when running and re-running workflows locally.
mtuchi
changed the title
Improve documentation on running and re-running workflows locally via CLI
Improve docs on running and re-running workflows locally via CLI
Aug 20, 2024
mtuchi
changed the title
Improve docs on running and re-running workflows locally via CLI
Improve CLI docs on running and re-running workflows locally
Aug 20, 2024
Description:
The current CLI documentation lacks detailed instructions on how to effectively run and re-run workflows locally. This enhancement will focus on providing clear guidance, especially on using specific options to control workflow execution.
Proposed Improvements:
Running Workflows Locally:
--cache-steps
option to save all step results locally and avoid reprocessing. For example:Re-running Workflows:
--start
: Re-run from a specific start step. For example:--end
: Re-run up to a specific end step. For example:--only
: Re-run only a single specified step. For example:--start
,--end
, or--only
, the results will be loaded from the cache. Therefore, it's crucial to run the entire workflow first with--cache-steps
enabled before using these options.Best Practices:(Opt)
Using Help Command:(Opt)
openfn help
to learn more about available commands and options within the OpenFn CLI.Impact:
This improvement will provide users with precise control over workflow execution, reducing errors and improving efficiency when running and re-running workflows locally.
Additional Notes:
CLI Cache Steps Docs 👇🏽
The text was updated successfully, but these errors were encountered: