mirror of
https://codeberg.org/scip/esctl.git
synced 2026-08-24 17:24:18 +02:00
streamline table api
This commit is contained in:
@@ -328,7 +328,7 @@ func ApiList(conf *cfg.Config, pattern string) error {
|
||||
|
||||
filter := regexp.MustCompile(pattern)
|
||||
|
||||
table := printer.NewTable(conf, 4, 0)
|
||||
table := printer.NewTable(conf).WithSize(4, 0)
|
||||
table.Addheaders("path", "http verb", "tag", "description")
|
||||
|
||||
for path, item := range assets.OpenAPI.Spec().Paths.Paths {
|
||||
|
||||
Reference in New Issue
Block a user