Add pretty-printing for `prototype search` results
When a user runs `prototype search`, we'd like for the output to include the name, description, and available template types, and we'd like that output to be padded for readability. For example, if the user runs `prototype search io.`, we'd like to output something like this: io.whatever.pkg.foo Foo's main template [jsonnet, yaml] io.whatever.pkg.foobar Foobar's main template [jsonnet, yaml, json] This commit will introduce this style of padded output to the `prototype search` subcommand.
Showing
- cmd/prototype.go 1 addition, 3 deletionscmd/prototype.go
- prototype/index.go 1 addition, 1 deletionprototype/index.go
- prototype/interface.go 1 addition, 1 deletionprototype/interface.go
- prototype/specification.go 50 additions, 0 deletionsprototype/specification.go
- prototype/systemPrototypes.go 6 additions, 2 deletionsprototype/systemPrototypes.go
Please register or sign in to comment