module Noir::CLI::Router

Overview

Top-level subcommand router.

noir scan ./app → ScanCommand noir list techs → ListCommand noir cache info → CacheCommand noir config show → ConfigCommand noir rules update → RulesCommand noir completion zsh → CompletionCommand noir version → VersionCommand noir help → HelpCommand

Anything else (including the v0 noir -b ./app pattern) routes to scan — the default — preserving every CI script, GitHub Action, Dockerfile entrypoint, and shell alias from v0.x.

Defined in:

cli/router.cr

Class Method Summary

Class Method Detail

def self.dispatch(argv : Array(String) = ARGV) #

[View source]