1
0
Fork 0
mirror of https://github.com/spf13/cobra synced 2025-04-30 10:37:16 +00:00
Commit graph

9 commits

Author SHA1 Message Date
Goutte
d995d9fd4e feat(i18n): test the locales using the appropriate build flag 2025-02-02 11:44:02 +01:00
Goutte
3896533e76 feat(i18n): add a Makefile recipe to install i18n extraction dependencies 2025-02-02 11:44:02 +01:00
Goutte
dfa07b5f3a feat(i18n): implement localization using gettext files
- Recipe to extract new translations from the Go code: `make i18n_extract`
- Embedded `MO` files
- Detect language from environment variables
- Some strings were pluralized
2025-02-02 11:43:59 +01:00
Unai Martinez-Corral
6200c8e551
Makefile: add target richtest ()
Don't require contributors to install richgo but keep it as an option and for CI
2022-11-25 15:55:09 -05:00
Marc Khouzam
0580724b5f
With go 1.18, we must use go install for a binary ()
The format "go install github.com/kyoh86/richgo@latest" will work with
go 1.16 and higher.  It will not work with go 1.15.  However, since
installing "richgo" is only required for people who want to run the go
tests for the Cobra project itself, I feel it is ok to require go 1.16
or higher in this case.

Signed-off-by: Marc Khouzam <marc.khouzam@gmail.com>

Signed-off-by: Marc Khouzam <marc.khouzam@gmail.com>
2022-08-30 08:34:58 -06:00
John McBride
5b2b9e9f61
Removes viper dependency by removing cobra/ CLI tool ()
The cobra bootstrapping CLI tool has moved to
https://github.com/spf13/cobra-cli

Signed-off-by: John McBride <jmcbride@vmware.com>
2022-03-10 08:19:35 -07:00
Matthieu MOREL
ff2c55e323
chore(ci): use golangci-lint-action ()
Signed-off-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
2021-12-07 16:06:09 -07:00
Unai Martinez-Corral
652c755d37
Use golangci-lint ()
Use golangci-lint. Repair warnings and errors resulting from linting.
2021-02-07 17:08:50 -07:00
Joshua Harshman
39cf99f556
leverage makefile to run build tasks ()
remove circle ci
2020-02-20 12:25:38 -07:00