-
Notifications
You must be signed in to change notification settings - Fork 15
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
Clean up and organize list of commonly used CLI features in cli-usage.md #543
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,15 @@ sidebar_label: Basic usage | |
slug: /cli-usage | ||
--- | ||
|
||
This page shows common usage examples for the CLI. | ||
This page shows examples for some of the most common usages of the CLI, such as: | ||
|
||
Execute a job, run a workflow, adjust logging, maintain adaptors, and save the | ||
state. | ||
- get help | ||
- run a job | ||
- saving the state | ||
- adjust logging level | ||
- maintain adaptors repo | ||
- run a workflow | ||
- load adaptor documentation | ||
|
||
--- | ||
|
||
|
@@ -25,9 +30,8 @@ openfn deploy --help | |
|
||
### Run a job | ||
|
||
To run a single job, you must explicitly specify which adaptor to use. You can | ||
find the list of publicly available [adaptors here](/adaptors). See examples | ||
below. | ||
To run a single job, you must explicitly specify which adaptor to use. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can I suggest we remove Maybe this:
|
||
[Publicly available adaptors](/adaptors). See examples below. | ||
|
||
Adaptors are automatically installed if the specified version is not detected. | ||
|
||
|
@@ -173,8 +177,8 @@ openfn repo clean | |
|
||
### Run a workflow | ||
|
||
<details> | ||
<summary>A workflow has a structure like this</summary> | ||
<details open> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hmm. I take your point but I'd probably rather hide the workflow json, it's a bit big. I can't even remember why we're including it. Can we instead rename the summary text to |
||
<summary>A workflow has a structure like this:</summary> | ||
|
||
```json | ||
{ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is an improvement for sure. Can we maybe say
including:
instead ofsuch as:
?To be fair this stuff is also in the side nav menu, so I wouldn't be against removing this whole intro paragraph 🤷 It's not adding much is it?