From 4fa5f923c8a263b48972376d88cafb29d4ad448a Mon Sep 17 00:00:00 2001 From: Alexander Baryshnikov Date: Wed, 17 Jun 2020 21:47:47 +0800 Subject: [PATCH] (cgi-ctl): unify clone command flags (rename -i to -U) --- assets/bindata.go | 2 +- cmd/cgi-ctl/cmd_clone.go | 2 +- docs/cgi-ctl/clone.md | 2 +- docs/index.md | 5 +++++ ui | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/assets/bindata.go b/assets/bindata.go index 7b8cbf2..c48461b 100644 --- a/assets/bindata.go +++ b/assets/bindata.go @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4d601ba2777569f2dd6cfcaf9a0d4bd03df8754c3a4127c0b702bbbff420cadf +oid sha256:30cbcb9ae8a08d8cd5501c6aa0a48416ce4a6605d986a6a33f353a8e8fc67437 size 4853275 diff --git a/cmd/cgi-ctl/cmd_clone.go b/cmd/cgi-ctl/cmd_clone.go index 711d6e0..9611302 100644 --- a/cmd/cgi-ctl/cmd_clone.go +++ b/cmd/cgi-ctl/cmd_clone.go @@ -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:""` } diff --git a/docs/cgi-ctl/clone.md b/docs/cgi-ctl/clone.md index d0aa76b..540208a 100644 --- a/docs/cgi-ctl/clone.md +++ b/docs/cgi-ctl/clone.md @@ -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] ``` diff --git a/docs/index.md b/docs/index.md index eb2040d..0a588bd 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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..` 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) diff --git a/ui b/ui index 90bb2e1..904cddb 160000 --- a/ui +++ b/ui @@ -1 +1 @@ -Subproject commit 90bb2e10f47ba03b9893a0e6284b8a740f72c389 +Subproject commit 904cddba2e6dc8fffd0be4ab44acd9528d3036a5