add 'contain' command for common configs

add flag 'full' for 'get' command
update bash complete
This commit is contained in:
DeniskaRediska committed 2019-10-30 14:58:50 +03:00
1 parent 1a3458ebdd
commit 8b8815d2f2
21 files changed
+348 -54

No files matched your search

+3
View File
@@ -18,6 +18,9 @@ const (
outPrintName = "o"
OutPrintJsonValue = "json"
OutPrintHtmlValue = "html"
withCommonConfigName = "full"
withCommonConfigUsage = "compile data with common configs"
)
var (
+2 -1
View File
@@ -13,7 +13,8 @@ var (
Color = cli.BoolFlag{Name: colorName, Usage: colorUsage}
Unsafe = cli.BoolFlag{Name: unsafeName, Usage: unsafeUsage}
//---local---
OutPrint = cli.StringFlag{Name: outPrintName, Usage: outPrintUsage, Value: OutPrintJsonValue}
OutPrint = cli.StringFlag{Name: outPrintName, Usage: outPrintUsage, Value: OutPrintJsonValue}
WithCommonConfig = cli.BoolFlag{Name: withCommonConfigName, Usage: withCommonConfigUsage}
)
func CheckGlobal(c *cli.Context) error {