MSP-5014 Replace call flag.CheckGlobal(ctx) by calling Before

This commit is contained in:
Синельник Тимур Романович committed 2025-03-20 18:17:59 +03:00
1 parent 5dbd07dc03
commit ff2922cf1e
7 files changed
+29 -64

No files matched your search

+1
View File
@@ -14,6 +14,7 @@ func Get() *cli.Command {
return &cli.Command{
Name: "get",
Usage: "get configuration by module_name",
Before: flag.CheckGlobal,
Action: get.action,
BashComplete: bash.Get(bash.ModuleName, bash.ModuleData).Complete,
}