MSP-5014 CheckGlobal to ApplyGlobalFlags

This commit is contained in:
Синельник Тимур Романович committed 2025-03-20 18:21:56 +03:00
1 parent ff2922cf1e
commit 0005f1ac0c
9 files changed
+39 -31

No files matched your search

+4 -3
View File
@@ -4,20 +4,21 @@ import (
"html/template"
"os"
"github.com/pkg/errors"
"github.com/urfave/cli/v2"
"ispctl/bash"
"ispctl/command/flag"
"ispctl/command/utils"
"ispctl/service"
"ispctl/tmpl"
"github.com/pkg/errors"
"github.com/urfave/cli/v2"
)
func Schema() *cli.Command {
return &cli.Command{
Name: "schema",
Usage: "get schema configuration by module_name",
Before: flag.CheckGlobal,
Before: flag.ApplyGlobalFlags,
Action: schema.action,
Flags: []cli.Flag{
flag.OutPrintSchema,