MSP-5014 Move flag package to command

This commit is contained in:
Синельник Тимур Романович committed 2025-03-20 18:12:19 +03:00
1 parent 24a6522d57
commit 599fa22429
11 files changed
+9 -9

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
package flag
import "fmt"
const (
hostName = "gateHost"
hostUsage = "isp-config-service address"
unsafeName = "unsafe"
unsafeUsage = "disable checking schema for set configuration"
outPrintName = "o"
OutPrintJsonValue = "json"
OutPrintHtmlValue = "html"
secretVariableName = "secret"
)
var (
outPrintStatusUsage = fmt.Sprintf("out print for status; %s", OutPrintJsonValue)
outPrintSchemaUsage = fmt.Sprintf("out print for schema; %s or %s", OutPrintJsonValue, OutPrintHtmlValue)
secretVariableUsage = "set variable as secret"
)