Skip to content

Commit

Permalink
(cgi-ctl): unify clone command flags (rename -i to -U)
Browse files Browse the repository at this point in the history
  • Loading branch information
reddec committed Jun 17, 2020
1 parent db805f0 commit 4fa5f92
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/bindata.go
Git LFS file not shown
2 changes: 1 addition & 1 deletion cmd/cgi-ctl/cmd_clone.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

type clone struct {
remoteLink
UID string `short:"i" long:"uid" env:"UID" description:"Lambda UID" required:"yes"`
UID string `short:"U" long:"uid" env:"UID" description:"Lambda UID" required:"yes"`
Output string `short:"o" long:"output" env:"OUTPUT" description:"Output directory (empty - same as UID)" default:""`
}

Expand Down
2 changes: 1 addition & 1 deletion docs/cgi-ctl/clone.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Help Options:
-u, --url= Trusted-CGI endpoint (default: http://127.0.0.1:3434/) [$URL]
--ghost Disable save credentials to user config dir [$GHOST]
--independent Disable read credentials from user config dir [$INDEPENDENT]
-i, --uid= Lambda UID [$UID]
-U, --uid= Lambda UID [$UID]
-o, --output= Output directory (empty - same as UID) [$OUTPUT]
```

Expand Down
5 changes: 5 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ so we don't need a heavy restriction for the application, so let's throw away do
* [Security](usage/security) - security and restrictions
* [GIT repo](usage/git_repo) - using GIT repo as a function

Before version `1.<minor>.<patch>` only the same version of `trusted-cgi` and `cgi-ctl` will guaranteed work. Different versions of
server and client binaries may work or may not work.

As soon as project will reach major version, within one minor version but different patch number client and server tools must work properly.

**High-level components diagram**

![Download](./assets/trusted-cgi-overview.svg)
Expand Down
2 changes: 1 addition & 1 deletion ui

0 comments on commit 4fa5f92

Please sign in to comment.