module

Noir::CLI::TraceCommand

noir trace "<METHOD> <URL>" [paths...] [scan flags]

Maps a concrete request (the thing an agent has in hand: a log line, a proxy entry) back to the declared route and prints the whole record: handler location, params, guards, sources, sinks, validators, signals, callees, tags. A miss prints the nearest routes so the next guess is informed, and exits 1.

Class methods

parse_target(positionals : Array(String)) : Tuple(Target | Nil, Array(String))

"POST /x", POST /x, or /x (every method). Returns the target and the positionals left over, which are scan paths.

Source
run(argv : Array(String))
Source

Nested types