From 57b4d11f6538a25333db9a5778aff7aab660a41f Mon Sep 17 00:00:00 2001 From: Antonis Kalipetis Date: Fri, 19 Sep 2025 17:36:51 +0300 Subject: [PATCH] feat: add lint as an alias to validate --- commands/list_models.go | 1 + commands/root.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/list_models.go b/commands/list_models.go index 7111b6fa..8d579652 100644 --- a/commands/list_models.go +++ b/commands/list_models.go @@ -80,6 +80,7 @@ func innerAppConfigValidateCommand(cnf *config.Config) Command { }, Aliases: []string{ "validate", + "lint", }, Description: "Validate the config files of a project", Help: "", diff --git a/commands/root.go b/commands/root.go index 40ec9051..a193c872 100644 --- a/commands/root.go +++ b/commands/root.go @@ -138,7 +138,7 @@ func newRootCommand(cnf *config.Config, assets *vendorization.VendorAssets) *cob validateCmd := commands.NewValidateCommand(assets) validateCmd.Use = "app:config-validate" - validateCmd.Aliases = []string{"validate"} + validateCmd.Aliases = []string{"validate", "lint"} validateCmd.SetHelpFunc(func(_ *cobra.Command, _ []string) { internalCmd := innerAppConfigValidateCommand(cnf) fmt.Println(internalCmd.HelpPage(cnf))