-
Notifications
You must be signed in to change notification settings - Fork 9
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
add cli doc #117
add cli doc #117
Conversation
cli_docs.md
Outdated
To check the details of a certain completions, use [`log10 completions get`](#log10-completions-get). | ||
For instance, | ||
```bash | ||
log10 completions get --id 497974e8-c1ed-4de7-90ab-8f104eb870te |
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.
Nit: should be consistent about the trailing "$"
|
||
## CLI References | ||
|
||
### Completions |
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.
Good for now, but we may have to auto gen these in the future: https://stackoverflow.com/questions/57810659/automatically-generate-all-help-documentation-for-click-commands
cli_docs.md
Outdated
@@ -0,0 +1,340 @@ | |||
# CLI | |||
|
|||
Use `log10` CLI to list and download the completions, feedback, and feedback task data at [log10.io](https://log10.io). |
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.
Use `log10` CLI to list and download the completions, feedback, and feedback task data at [log10.io](https://log10.io). | |
Use the `log10` CLI to list and download the completions, feedback, and feedback task data at [log10.io](https://log10.io). |
cli_docs.md
Outdated
|
||
## Get Started | ||
|
||
Install log10-io python package (version >= 0.6.7) and [setup Log10](README.md#⚙️-setup) |
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.
Install log10-io python package (version >= 0.6.7) and [setup Log10](README.md#⚙️-setup) | |
Install the `log10-io` python package (version >= 0.6.7) and [setup Log10](README.md#⚙️-setup) |
cli_docs.md
Outdated
|
||
Install log10-io python package (version >= 0.6.7) and [setup Log10](README.md#⚙️-setup) | ||
```bash | ||
pip install log10-io |
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.
pip install log10-io | |
$ pip install log10-io |
cli_docs.md
Outdated
```bash | ||
$ log10 completions list --tags foo,bar --from 2024-2-1 --to 2024-2-29 | ||
``` | ||
Output: |
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.
Output: | |
#### Output |
cli_docs.md
Outdated
100%|███████████████████████████████████████████████████████████████████████████| 5/5 [00:03<00:00, 1.31it/s] | ||
``` | ||
|
||
To check the details of a certain completions, use [`log10 completions get`](#log10-completions-get). |
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.
To check the details of a certain completions, use [`log10 completions get`](#log10-completions-get). | |
To retrieve details for a specific completion, use [`log10 completions get`](#log10-completions-get). |
cli_docs.md
Outdated
``` | ||
|
||
### Feedback Tasks and Feedback | ||
To start adding feedback, first you need to define a feedback task with [`log10 feedback-task create`](#log10-feedback-task-create). Then you can add feedback to a logged completions with [`log10 feedback create`](#log10-feedback-create). For more details, please refer to this [doc](https://log10.io/docs/feedback/feedback#add-feedback). |
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.
To start adding feedback, first you need to define a feedback task with [`log10 feedback-task create`](#log10-feedback-task-create). Then you can add feedback to a logged completions with [`log10 feedback create`](#log10-feedback-create). For more details, please refer to this [doc](https://log10.io/docs/feedback/feedback#add-feedback). | |
To start adding feedback, first you need to define a feedback task with [`log10 feedback-task create`](#log10-feedback-task-create). Then you can add feedback to a logged completions with [`log10 feedback create`](#log10-feedback-create). For more details, you can read more in [log10's user documentation](https://log10.io/docs/feedback/feedback#add-feedback). |
cli_docs.md
Outdated
│ 15a5e099-a56a-49d0-b488 │ 29 days ago │ emoji_feedback_task │ feedback │ Provide feedback using emojis │ | ||
└─────────────────────────┴─────────────┴────────────────────────────────────────────┴────────────────────────────────────────────┴───────────────────────────────────────────────────┘ | ||
``` | ||
and check the detail of a task with [`log10 feedback-task get --id`](#log10-feedback-task-get) |
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.
and check the detail of a task with [`log10 feedback-task get --id`](#log10-feedback-task-get) | |
and retrieve details about a specific task with [`log10 feedback-task get --id`](#log10-feedback-task-get) |
cli_docs.md
Outdated
To list and download your current feedback, use [`log10 feedback list`](#log10-feedback-list) and [`log10 feedback download`](#log10-feedback-download). | ||
For instance you can list all feedback filtered by a feedback task `--task_id`: | ||
```bash | ||
❯ log10 feedback list --task_id 04405cbc-3420-4901-97b6 |
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.
❯ log10 feedback list --task_id 04405cbc-3420-4901-97b6 | |
$ log10 feedback list --task_id 04405cbc-3420-4901-97b6 |
No description provided.