-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #143 from FederatedAI/dev-2.0.0-rc
Update cli doc
- Loading branch information
Showing
3 changed files
with
181 additions
and
43 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
# CLIENT CLI | ||
|
||
Description | ||
|
||
Introduces how to install and use the FATE Flow Client, which is usually | ||
included in the FATE Client, which contains several clients of the FATE | ||
Project: Pipeline, FATE Flow Client. | ||
|
||
Introducing the command line provided by FATE Flow Client, all commands will | ||
have a common invocation entry, you can type flow in the command line to get all | ||
the command categories and their subcommands. | ||
|
||
[IN] | ||
flow | ||
|
||
[OUT] | ||
Usage: flow [OPTIONS] COMMAND [ARGS]... | ||
|
||
Fate Flow Client | ||
|
||
Options. | ||
-h, --help Show this message and exit. | ||
|
||
Commands: -h, --help | ||
client -description: Client Operations | ||
data -description: Provides numbers of data operational... | ||
init -description: Flow CLI Init Command. | ||
job -description: Provides numbers of job operational commands,... | ||
log -description: Operations related to job logs. | ||
model -description: Model Operations | ||
output -description: Task output Operations | ||
permission -description: Permission Operations | ||
provider -description: Provider Operations | ||
server -description: Third-party Service Related Operations | ||
site -description: Site Operations | ||
table -description: Data Table Operations, such as Querying and... | ||
task -description: Provides numbers of task operational... | ||
test -description: fate test | ||
version -description: Get fate flow client version -usage: flow... | ||
|
||
|
||
## Install Fate Client | ||
FATE Client will be distributed to pypi, you can install the corresponding version | ||
directly using tools such as pip, e.g. | ||
|
||
pip install fate-client | ||
|
||
## Init Fate Client | ||
|
||
flow init -h | ||
Usage: flow init [OPTIONS] | ||
|
||
-description: Flow CLI Init Command. provide ip and port of a valid fate flow server. | ||
If the server enables client authentication, you need to configure app-id and app-token | ||
-usage: flow init --ip 127.0.0.1 --port 9380 | ||
|
||
Options: | ||
--ip TEXT Fate flow server ip address. | ||
--port INTEGER Fate flow server port. | ||
--app-id TEXT APP key for sign requests. | ||
--app-token TEXT Secret key for sign requests. | ||
--reset If specified, initialization settings would be reset to | ||
none. Users should init flow again. | ||
-h, --help Show this message and exit. | ||
|
||
|
||
### Flow Client Cli | ||
|
||
After successfully installed FATE Client,and init FATE Client. user needs to configure | ||
server information for Client. Client cli provides a command line tool for quick setup. | ||
Run the following command for more information. | ||
|
||
|
||
## Interface of Flow Client Cli | ||
|
||
### Client | ||
Client operational. | ||
[examples](../python/fate_client/flow_cli/build/doc/client.md) | ||
|
||
|
||
### data | ||
Provides numbers of data operational | ||
[examples](../python/fate_client/flow_cli/build/doc/data.md) | ||
|
||
|
||
## job | ||
Provides numbers of job operational commands | ||
[examples](../python/fate_client/flow_cli/build/doc/job.md) | ||
|
||
## log | ||
Operations related to job logs | ||
[examples](../python/fate_client/flow_cli/build/doc/log.md) | ||
|
||
## model | ||
Model Operations | ||
[examples](../python/fate_client/flow_cli/build/doc/model.md) | ||
|
||
## output | ||
Task output Operations | ||
[examples](../python/fate_client/flow_cli/build/doc/output.md) | ||
|
||
## permission | ||
Permission Operations | ||
[examples](../python/fate_client/flow_cli/build/doc/log.md) | ||
|
||
## provider | ||
Provider Operations | ||
[examples](../python/fate_client/flow_cli/build/doc/perission.md) | ||
|
||
## server | ||
Third-party Service Related Operations | ||
[examples](../python/fate_client/flow_cli/build/doc/server.md) | ||
|
||
## site | ||
Site Operations | ||
[examples](../python/fate_client/flow_cli/build/doc/site.md) | ||
|
||
## table | ||
Data Table Operations | ||
[examples](../python/fate_client/flow_cli/build/doc/table.md) | ||
|
||
## task | ||
Provides numbers of task operational | ||
[examples](../python/fate_client/flow_cli/build/doc/task.md) | ||
|
||
## test | ||
fate test | ||
[examples](../python/fate_client/flow_cli/build/doc/test.md) | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
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