-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[coconut] Generate coconut user documentation
- Loading branch information
Showing
28 changed files
with
186 additions
and
26 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
## coconut configuration history | ||
|
||
List all existing entries with timestamps of a specified component in Consul | ||
|
||
### Synopsis | ||
|
||
The configuration history command returns all entries with | ||
all of their associated timestamps or returns all timestamps for a specified component and entry | ||
|
||
``` | ||
coconut configuration history <query> [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
coconut conf history <component> | ||
coconut conf history <component> <entry> | ||
coconut conf history <component>/<entry> | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for history | ||
-o, --output string output format for the returned entries (yaml/json) (default "yaml") | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--config string optional configuration file for coconut (default $HOME/.config/coconut/settings.yaml) | ||
--config_endpoint string configuration endpoint used by AliECS core as PROTO://HOST:PORT (default "consul://127.0.0.1:8500") | ||
--endpoint string AliECS core endpoint as HOST:PORT (default "127.0.0.1:47102") | ||
-v, --verbose show verbose output for debug purposes | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [coconut configuration](coconut_configuration.md) - view or modify O² configuration | ||
|
||
###### Auto generated by spf13/cobra on 3-Oct-2019 |
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,48 @@ | ||
## coconut configuration import | ||
|
||
Import a configuration file for the specified component and entry | ||
|
||
### Synopsis | ||
|
||
The configuration import command generates a timestamp and saves | ||
the configuration file to Consul under the <component>/<entry>/<timestamp> path. | ||
Supported configuration file types are JSON, YAML, TOML and INI, | ||
and their file extensions are recognized automatically. | ||
|
||
``` | ||
coconut configuration import <component> <entry> <file_path> [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
coconut conf import <component> <entry> <file_path> | ||
coconut conf import <component>/<entry> <file_path> | ||
coconut conf import <component> <entry> <file_path> --new-component | ||
coconut conf import <component>/<entry> <file_path> --format=json | ||
coconut conf import <component> <entry> <file_path>.json | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-f, --format string force a specific configuration file type, overriding any file extension | ||
-h, --help help for import | ||
-n, --new-component create a new configuration component while importing entry | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--config string optional configuration file for coconut (default $HOME/.config/coconut/settings.yaml) | ||
--config_endpoint string configuration endpoint used by AliECS core as PROTO://HOST:PORT (default "consul://127.0.0.1:8500") | ||
--endpoint string AliECS core endpoint as HOST:PORT (default "127.0.0.1:47102") | ||
-v, --verbose show verbose output for debug purposes | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [coconut configuration](coconut_configuration.md) - view or modify O² configuration | ||
|
||
###### Auto generated by spf13/cobra on 3-Oct-2019 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
## coconut configuration show | ||
|
||
Show configuration for the component and entry specified | ||
|
||
### Synopsis | ||
|
||
The configuration show command returns the most recent | ||
configuration revision for the specified component and entry. | ||
It can also return a specific revision, requested with the --timestamp/-t flag | ||
|
||
``` | ||
coconut configuration show <component> <entry> [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
coconut conf show <component> <entry> | ||
coconut conf show <component> <entry> -t <timestamp> | ||
coconut conf show <component>/<entry> | ||
coconut conf show <component>/<entry> -t <timestamp> | ||
coconut conf show <component>/<entry>@<timestamp> | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for show | ||
-t, --timestamp string request configuration for this timestamp | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--config string optional configuration file for coconut (default $HOME/.config/coconut/settings.yaml) | ||
--config_endpoint string configuration endpoint used by AliECS core as PROTO://HOST:PORT (default "consul://127.0.0.1:8500") | ||
--endpoint string AliECS core endpoint as HOST:PORT (default "127.0.0.1:47102") | ||
-v, --verbose show verbose output for debug purposes | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [coconut configuration](coconut_configuration.md) - view or modify O² configuration | ||
|
||
###### Auto generated by spf13/cobra on 3-Oct-2019 |
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
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
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
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
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
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
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
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
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
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