Semi-automated mass string commenting

This commit is contained in:
3wc
2025-08-27 12:42:50 -04:00
parent 5b6254a243
commit db5da1656a
45 changed files with 61 additions and 0 deletions

View File

@ -21,6 +21,7 @@ import (
func Run(version, commit string) {
rootCmd := &cobra.Command{
// translators: `abra` binary name
Use: i18n.G("abra [cmd] [args] [flags]"),
Short: i18n.G("The Co-op Cloud command-line utility belt 🎩🐇"),
Version: fmt.Sprintf("%s-%s", version, commit[:7]),
@ -78,6 +79,7 @@ func Run(version, commit string) {
rootCmd.CompletionOptions.DisableDefaultCmd = true
manCommand := &cobra.Command{
// translators: `man` command
Use: i18n.G("man [flags]"),
Aliases: []string{"m"},
Short: i18n.G("Generate manpage"),