docs: add description

This commit is contained in:
decentral1se 2021-12-19 16:06:22 +01:00
parent cf5ee4e682
commit c7de9c0719
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 9 additions and 0 deletions

View File

@ -17,6 +17,15 @@ var releaseCandidateURL = "https://git.coopcloud.tech/coop-cloud/abra/raw/branch
var UpgradeCommand = &cli.Command{
Name: "upgrade",
Usage: "Upgrade abra",
Description: `
This command allows you to upgrade Abra in-place with the latest stable or
release candidate.
If you would like to install the latest release candidate, please pass the
"--rc" option. Please bear in mind that the latest release candidate may have
some catastrophic bugs contained in it. In any case, thank you very much for
testing efforts!
`,
Flags: []cli.Flag{internal.RCFlag},
Action: func(c *cli.Context) error {
cmd := exec.Command("bash", "-c", fmt.Sprintf("curl -s %s | bash", mainURL))