feat: add config dir help
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

See toolshed/organising#470
This commit is contained in:
2025-08-30 12:12:40 +02:00
parent 83ca2a63d1
commit 36d4648114
3 changed files with 69 additions and 39 deletions

View File

@ -55,6 +55,13 @@ func Run(version, commit string) {
Use: i18n.G("abra [cmd] [args] [flags]"),
// translators: Short description for `abra` binary
Short: i18n.G("The Co-op Cloud command-line utility belt 🎩🐇"),
// translators: Long description for `abra` binary. This needs to be
// translated in the same way as the Short description so that everything
// matches up
Long: i18n.G(`The Co-op Cloud command-line utility belt 🎩🐇
Config:
$ABRA_DIR: %s`, config.ABRA_DIR),
Version: fmt.Sprintf("%s-%s", version, commit[:7]),
ValidArgs: []string{
// translators: `abra app` command for autocompletion

View File

@ -7,7 +7,7 @@
msgid ""
msgstr "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-08-30 12:02+0200\n"
"POT-Creation-Date: 2025-08-30 12:12+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -43,7 +43,7 @@ msgid " # fetch from recipe catalogue\n"
" abra recipe fetch gitea --ssh"
msgstr ""
#: ./cli/run.go:129
#: ./cli/run.go:136
msgid " # generate the man pages into /usr/local/share/man/man1\n"
" abra_path=$(which abra) # pass abra absolute path to sudo below\n"
" sudo $abra_path man\n"
@ -827,7 +827,7 @@ msgid "Generate labels for the main recipe service.\n"
msgstr ""
#. translators: Short description for `man` command
#: ./cli/run.go:128
#: ./cli/run.go:135
msgid "Generate manpage"
msgstr ""
@ -1237,6 +1237,17 @@ msgstr ""
msgid "The Co-op Cloud command-line utility belt 🎩🐇"
msgstr ""
#. translators: Long description for `abra` binary. This needs to be
#. translated in the same way as the Short description so that everything
#. matches up
#: ./cli/run.go:61
#, c-format
msgid "The Co-op Cloud command-line utility belt 🎩🐇\n"
"\n"
"Config:\n"
" $ABRA_DIR: %s"
msgstr ""
#: ./cli/app/secret.go:163
msgid "This command inserts a secret into an app environment.\n"
"\n"
@ -1559,7 +1570,7 @@ msgstr ""
msgid "abra app labels 1312.net"
msgstr ""
#: ./cli/run.go:107
#: ./cli/run.go:114
#, c-format
msgid "abra version: %s, commit: %s, lang: %s"
msgstr ""
@ -1635,7 +1646,7 @@ msgid "ambiguous service list received, prompting for input"
msgstr ""
#. translators: `abra app` command for autocompletion
#: ./cli/run.go:61
#: ./cli/run.go:68
msgid "app"
msgstr ""
@ -1693,7 +1704,7 @@ msgid "attempting to scale %s to 1"
msgstr ""
#. translators: `abra autocomplete` command for autocompletion
#: ./cli/run.go:63
#: ./cli/run.go:70
msgid "autocomplete"
msgstr ""
@ -1860,7 +1871,7 @@ msgid "cannot use [version] and --latest together"
msgstr ""
#. translators: `abra catalogue` command for autocompletion
#: ./cli/run.go:65
#: ./cli/run.go:72
msgid "catalogue"
msgstr ""
@ -2328,7 +2339,7 @@ msgstr ""
msgid "domain name for app"
msgstr ""
#: ./cli/run.go:153
#: ./cli/run.go:160
msgid "don't forget to run 'sudo mandb'"
msgstr ""
@ -3245,7 +3256,7 @@ msgstr ""
#. translators: `abra man` aliases. use a comma separated list of aliases
#. with no spaces in between
#: ./cli/app/list.go:318 ./cli/app/ps.go:205 ./cli/app/secret.go:553 ./cli/app/secret.go:649 ./cli/recipe/list.go:104 ./cli/recipe/upgrade.go:376 ./cli/recipe/version.go:139 ./cli/run.go:121 ./cli/server/list.go:106 ./cli/updater/updater.go:560
#: ./cli/app/list.go:318 ./cli/app/ps.go:205 ./cli/app/secret.go:553 ./cli/app/secret.go:649 ./cli/recipe/list.go:104 ./cli/recipe/upgrade.go:376 ./cli/recipe/version.go:139 ./cli/run.go:128 ./cli/server/list.go:106 ./cli/updater/updater.go:560
msgid "m"
msgstr ""
@ -3268,12 +3279,12 @@ msgid "malformed version pin specification: %s"
msgstr ""
#. translators: `abra man` command for autocompletion
#: ./cli/run.go:67
#: ./cli/run.go:74
msgid "man"
msgstr ""
#. translators: `man` command
#: ./cli/run.go:125
#: ./cli/run.go:132
msgid "man [flags]"
msgstr ""
@ -3733,7 +3744,7 @@ msgstr ""
msgid "polling undeploy status"
msgstr ""
#: ./cli/run.go:178
#: ./cli/run.go:185
msgid "prefer offline & filesystem access"
msgstr ""
@ -3865,7 +3876,7 @@ msgid "readme: %s, "
msgstr ""
#. translators: `abra recipe` command for autocompletion
#: ./cli/app/list.go:302 ./cli/app/list.go:309 ./cli/run.go:69
#: ./cli/app/list.go:302 ./cli/app/list.go:309 ./cli/run.go:76
msgid "recipe"
msgstr ""
@ -4287,7 +4298,7 @@ msgid "secrets are %s shown again, please save them %s"
msgstr ""
#. translators: `abra server` command for autocompletion
#: ./cli/app/list.go:325 ./cli/app/list.go:332 ./cli/app/new.go:333 ./cli/app/new.go:340 ./cli/run.go:71
#: ./cli/app/list.go:325 ./cli/app/list.go:332 ./cli/app/new.go:333 ./cli/app/new.go:340 ./cli/run.go:78
msgid "server"
msgstr ""
@ -4403,7 +4414,7 @@ msgstr ""
msgid "show apps of a specific server"
msgstr ""
#: ./cli/run.go:162 ./cli/updater/updater.go:507
#: ./cli/run.go:169 ./cli/updater/updater.go:507
msgid "show debug messages"
msgstr ""
@ -4679,7 +4690,7 @@ msgstr ""
msgid "tmpfs options are incompatible with type volume"
msgstr ""
#: ./cli/run.go:170 ./cli/updater/updater.go:515
#: ./cli/run.go:177 ./cli/updater/updater.go:515
msgid "toggle non-interactive mode"
msgstr ""
@ -4763,7 +4774,7 @@ msgstr ""
msgid "unable to convert to JSON: %s"
msgstr ""
#: ./cli/run.go:87
#: ./cli/run.go:94
#, c-format
msgid "unable to create %s: %s"
msgstr ""
@ -4852,7 +4863,7 @@ msgstr ""
msgid "unable to parse '%s' value as bool: %s"
msgstr ""
#: ./cli/run.go:145
#: ./cli/run.go:152
#, c-format
msgid "unable to proceed, %s does not exist?"
msgstr ""
@ -5034,7 +5045,7 @@ msgid "updating %s to %s in %s"
msgstr ""
#. translators: `abra upgrade` command for autocompletion
#: ./cli/run.go:73
#: ./cli/run.go:80
msgid "upgrade"
msgstr ""

View File

@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-08-30 12:02+0200\n"
"POT-Creation-Date: 2025-08-30 12:12+0200\n"
"PO-Revision-Date: 2025-08-29 21:45+0000\n"
"Last-Translator: chasqui <chasqui@cryptolab.net>\n"
"Language-Team: Spanish <https://translate.coopcloud.tech/projects/co-op-"
@ -44,7 +44,7 @@ msgid ""
" abra recipe fetch gitea --ssh"
msgstr ""
#: cli/run.go:129
#: cli/run.go:136
msgid ""
" # generate the man pages into /usr/local/share/man/man1\n"
" abra_path=$(which abra) # pass abra absolute path to sudo below\n"
@ -893,7 +893,7 @@ msgid ""
msgstr ""
#. translators: Short description for `man` command
#: cli/run.go:128
#: cli/run.go:135
msgid "Generate manpage"
msgstr "📒 Manual de uso"
@ -1330,6 +1330,18 @@ msgstr "📨 Actualizador automático de Co-op Cloud 🤖 🚀"
msgid "The Co-op Cloud command-line utility belt 🎩🐇"
msgstr "La varita de mágica de Co-op Cloud 🪄🎩🐇"
#. translators: Long description for `abra` binary. This needs to be
#. translated in the same way as the Short description so that everything
#. matches up
#: cli/run.go:61
#, fuzzy, c-format
msgid ""
"The Co-op Cloud command-line utility belt 🎩🐇\n"
"\n"
"Config:\n"
" $ABRA_DIR: %s"
msgstr "La varita de mágica de Co-op Cloud 🪄🎩🐇"
#: cli/app/secret.go:163
msgid ""
"This command inserts a secret into an app environment.\n"
@ -1712,7 +1724,7 @@ msgstr ""
msgid "abra app labels 1312.net"
msgstr ""
#: cli/run.go:107
#: cli/run.go:114
#, c-format
msgid "abra version: %s, commit: %s, lang: %s"
msgstr ""
@ -1789,7 +1801,7 @@ msgid "ambiguous service list received, prompting for input"
msgstr ""
#. translators: `abra app` command for autocompletion
#: cli/run.go:61
#: cli/run.go:68
msgid "app"
msgstr "plataforma"
@ -1847,7 +1859,7 @@ msgid "attempting to scale %s to 1"
msgstr ""
#. translators: `abra autocomplete` command for autocompletion
#: cli/run.go:63
#: cli/run.go:70
msgid "autocomplete"
msgstr ""
@ -2021,7 +2033,7 @@ msgid "cannot use [version] and --latest together"
msgstr ""
#. translators: `abra catalogue` command for autocompletion
#: cli/run.go:65
#: cli/run.go:72
msgid "catalogue"
msgstr ""
@ -2503,7 +2515,7 @@ msgstr ""
msgid "domain name for app"
msgstr ""
#: cli/run.go:153
#: cli/run.go:160
msgid "don't forget to run 'sudo mandb'"
msgstr ""
@ -3443,7 +3455,7 @@ msgstr "plataformas"
#. with no spaces in between
#: cli/app/list.go:318 cli/app/ps.go:205 cli/app/secret.go:553
#: cli/app/secret.go:649 cli/recipe/list.go:104 cli/recipe/upgrade.go:376
#: cli/recipe/version.go:139 cli/run.go:121 cli/server/list.go:106
#: cli/recipe/version.go:139 cli/run.go:128 cli/server/list.go:106
#: cli/updater/updater.go:560
msgid "m"
msgstr ""
@ -3471,12 +3483,12 @@ msgid "malformed version pin specification: %s"
msgstr ""
#. translators: `abra man` command for autocompletion
#: cli/run.go:67
#: cli/run.go:74
msgid "man"
msgstr ""
#. translators: `man` command
#: cli/run.go:125
#: cli/run.go:132
msgid "man [flags]"
msgstr "manual [flags]"
@ -3957,7 +3969,7 @@ msgstr ""
msgid "polling undeploy status"
msgstr ""
#: cli/run.go:178
#: cli/run.go:185
msgid "prefer offline & filesystem access"
msgstr ""
@ -4094,7 +4106,7 @@ msgid "readme: %s, "
msgstr ""
#. translators: `abra recipe` command for autocompletion
#: cli/app/list.go:302 cli/app/list.go:309 cli/run.go:69
#: cli/app/list.go:302 cli/app/list.go:309 cli/run.go:76
msgid "recipe"
msgstr ""
@ -4524,7 +4536,7 @@ msgstr ""
#. translators: `abra server` command for autocompletion
#: cli/app/list.go:325 cli/app/list.go:332 cli/app/new.go:333
#: cli/app/new.go:340 cli/run.go:71
#: cli/app/new.go:340 cli/run.go:78
msgid "server"
msgstr ""
@ -4642,7 +4654,7 @@ msgstr ""
msgid "show apps of a specific server"
msgstr ""
#: cli/run.go:162 cli/updater/updater.go:507
#: cli/run.go:169 cli/updater/updater.go:507
msgid "show debug messages"
msgstr ""
@ -4921,7 +4933,7 @@ msgstr ""
msgid "tmpfs options are incompatible with type volume"
msgstr ""
#: cli/run.go:170 cli/updater/updater.go:515
#: cli/run.go:177 cli/updater/updater.go:515
msgid "toggle non-interactive mode"
msgstr ""
@ -5006,7 +5018,7 @@ msgstr ""
msgid "unable to convert to JSON: %s"
msgstr ""
#: cli/run.go:87
#: cli/run.go:94
#, c-format
msgid "unable to create %s: %s"
msgstr ""
@ -5096,7 +5108,7 @@ msgstr ""
msgid "unable to parse '%s' value as bool: %s"
msgstr ""
#: cli/run.go:145
#: cli/run.go:152
#, c-format
msgid "unable to proceed, %s does not exist?"
msgstr ""
@ -5285,7 +5297,7 @@ msgid "updating %s to %s in %s"
msgstr ""
#. translators: `abra upgrade` command for autocompletion
#: cli/run.go:73
#: cli/run.go:80
msgid "upgrade"
msgstr ""