docs: add description
This commit is contained in:
parent
cf5ee4e682
commit
c7de9c0719
|
@ -17,6 +17,15 @@ var releaseCandidateURL = "https://git.coopcloud.tech/coop-cloud/abra/raw/branch
|
||||||
var UpgradeCommand = &cli.Command{
|
var UpgradeCommand = &cli.Command{
|
||||||
Name: "upgrade",
|
Name: "upgrade",
|
||||||
Usage: "Upgrade abra",
|
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},
|
Flags: []cli.Flag{internal.RCFlag},
|
||||||
Action: func(c *cli.Context) error {
|
Action: func(c *cli.Context) error {
|
||||||
cmd := exec.Command("bash", "-c", fmt.Sprintf("curl -s %s | bash", mainURL))
|
cmd := exec.Command("bash", "-c", fmt.Sprintf("curl -s %s | bash", mainURL))
|
||||||
|
|
Loading…
Reference in New Issue