Skip to content

Commit

Permalink
cli: Rename to katib-cli (#101)
Browse files Browse the repository at this point in the history
* root: Fix description

Signed-off-by: Ce Gao <gaoce@caicloud.io>

* docs: Update

Signed-off-by: Ce Gao <gaoce@caicloud.io>
  • Loading branch information
gaocegege authored and k8s-ci-robot committed Jun 5, 2018
1 parent 872d83e commit 5c07c3d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cmd/cli/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ type PersistentFlags struct {
func NewRootCommand() *cobra.Command {

cmd := &cobra.Command{
Use: "katibcli",
Use: "katib-cli",
Short: "katib cli",
Long: `this is katib cli client using cobra framework`,
Long: `This is katib cli client using cobra framework`,
}

//initialize config
Expand Down
10 changes: 5 additions & 5 deletions docs/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,24 @@

```
./katib-cli [options] [arguments]
this is katib cli client using cobra framework
This is katib cli client using cobra framework
Usage:
katibcli [command]
katib-cli [command]
Available Commands:
create Create a resource from a file
get Display one or many resources
help Help about any command
pull Pull a resource from a file or from stdin.
push Push a resource from a file or from stdin.
stop Stop a resource
Flags:
-h, --help help for katibcli
-h, --help help for katib-cli
-s, --server string katib manager API endpoint (default "localhost:6789")
Use "katibcli [command] --help" for more information about a command.
Use "katib-cli [command] --help" for more information about a command.
```

#### SubCommands
Expand Down Expand Up @@ -70,4 +71,3 @@ Usage:
push study -n [StudyName] -o [OwnerName] -d [StudyDescription]
push model -f [Path to model config]
```

0 comments on commit 5c07c3d

Please sign in to comment.