feat: add layer definition api
This commit is contained in:
13
internal/command/admin/definition/layer/util.go
Normal file
13
internal/command/admin/definition/layer/util.go
Normal file
@ -0,0 +1,13 @@
|
||||
package layer
|
||||
|
||||
import "gitlab.com/wpetit/goweb/cli/format"
|
||||
|
||||
func layerDefinitionHints(outputMode format.OutputMode) format.Hints {
|
||||
return format.Hints{
|
||||
OutputMode: outputMode,
|
||||
Props: []format.Prop{
|
||||
format.NewProp("Type", "Type"),
|
||||
format.NewProp("Options", "Options"),
|
||||
},
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user