Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config action.GTSAction = func(ctx context.Context) (err error) { var raw map[string]interface{} config.Config(func(cfg *config.Configuration) { raw, err = cfg.MarshalMap() }) if err != nil { return err } enc := json.NewEncoder(os.Stdout) enc.SetIndent("", " ") err = enc.Encode(raw) return err }
Config just prints the collated config out to stdout as json.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.