module
Noir::CLI::ListCommand
Overview
noir list <techs|taggers|formats>
Static built-in catalogs. These will never grow update-style verbs,
so they live under a shared list namespace rather than as their own
subcommand modules.
Defined in:
cli/commands/list.crConstant Summary
-
AI_CONTEXT_KINDS =
["guards", "sinks", "validators", "signals"] of ::String -
LIST_FORMATS =
["text", "json", "yaml"] of ::String -
Output formats
listitself understands.textis the human-readable default;json/yamlre-serialize the same catalogs for scripting. -
SUBJECTS =
["techs", "taggers", "formats"] of ::String
Class Method Summary
- .parse_argv(argv : Array(String)) : Parsed
- .print_formats(format : String = "text", io : IO = STDOUT)
- .print_help(io : IO = STDOUT)
- .print_taggers(format : String = "text", io : IO = STDOUT)
- .print_techs(format : String = "text", io : IO = STDOUT)
- .run(argv : Array(String))