package spec import ( "gitlab.com/wpetit/goweb/cli/format" "gitlab.com/wpetit/goweb/cli/format/table" ) func specHints(outputMode format.OutputMode) format.Hints { return format.Hints{ OutputMode: outputMode, Props: []format.Prop{ format.NewProp("ID", "ID"), format.NewProp("Revision", "Revision"), format.NewProp("DefinitionName", "Def. Name"), format.NewProp("DefinitionVersion", "Def. Version"), format.NewProp("Data", "Data"), format.NewProp("CreatedAt", "CreatedAt", table.WithCompactModeMaxColumnWidth(20)), format.NewProp("UpdatedAt", "UpdatedAt", table.WithCompactModeMaxColumnWidth(20)), }, } }