forked from keephq/keep
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cli): add new config subcommands (keephq#999)
- Loading branch information
Showing
5 changed files
with
139 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- | ||
sidebarTitle: "keep config new" | ||
--- | ||
|
||
Create new config. | ||
|
||
## Usage | ||
|
||
``` | ||
Usage: keep config new [OPTIONS]... | ||
``` | ||
|
||
## Options | ||
* `interactive`: | ||
* Type: BOOL | ||
* Default: `True` | ||
* Usage: `--interactive` | ||
|
||
Create config interactively. | ||
|
||
* `url`: | ||
* Type: STRING | ||
* Default: `http://localhost:8080` | ||
* Usage: `--url` | ||
|
||
The URL of the Keep backend server. | ||
|
||
* `api-key`: | ||
* Type: STRING | ||
* Default: `` | ||
* Usage: `--api-key` | ||
|
||
The api key for authenticating over keep. | ||
|
||
* `help`: | ||
* Type: BOOL | ||
* Default: `false` | ||
* Usage: `--help` | ||
|
||
Show this message and exit. | ||
|
||
|
||
|
||
## CLI Help | ||
|
||
``` | ||
Usage: keep config new [OPTIONS] | ||
create new config. | ||
Options: | ||
-u, --url TEXT The url of the keep api | ||
-a, --api-key TEXT The api key for keep | ||
-i, --interactive Interactive mode creating keep config (default True) | ||
--help Show this message and exit. | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
sidebarTitle: "keep config show" | ||
--- | ||
|
||
Show keep configuration. | ||
|
||
## Usage | ||
|
||
``` | ||
Usage: keep config show [OPTIONS]... | ||
``` | ||
|
||
## Options | ||
* `help`: | ||
* Type: BOOL | ||
* Default: `false` | ||
* Usage: `--help` | ||
|
||
Show this message and exit. | ||
|
||
|
||
|
||
## CLI Help | ||
|
||
``` | ||
Usage: keep config show [OPTIONS] | ||
show the current config. | ||
Options: | ||
--help Show this message and exit. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters