Documentation
¶
Overview ¶
Package cli exposes the command-line adapter for DeltaScope. input: audit command flags, SQL text from flags/files/stdin, password source/prompt dependencies, and application audit services output: rendered audit results, connection-option validation, password resolution, and exit-code mapping for CLI audit invocations pos: CLI audit command implementation above the application service and output renderers note: if this file changes, update this header and module README.md.
Package cli exposes the command-line adapter for DeltaScope. input: metadata-aware audit connection options, SQL text, and metadata provider clients output: resolved dialect/schema context and provider wiring for metadata-aware CLI audits pos: CLI metadata-aware audit preparation between command flags and application requests note: if this file changes, update this header and module README.md.
Package cli exposes the command-line adapter for DeltaScope. input: capability command invocations plus shipped product-surface metadata output: stable human-readable summaries of supported dialects, modes, inputs, outputs, and shipped surfaces across CLI, HTTP, MCP, and Go API entrypoints pos: CLI capability discovery command above the current shipped product surface note: if this file changes, update this header and module README.md.
Package cli exposes the command-line adapter for DeltaScope. input: process control from cmd/deltascope and Cobra command execution requests output: executable CLI behavior and stable process exit codes for local audits pos: interface adapter between process entrypoint and application services note: if this file changes, update this header and module README.md.
Package cli exposes the command-line adapter for DeltaScope. input: config command invocations and YAML config files output: config lint results with validation errors and replacement warnings, default-config rendering, and rule config status wiring pos: CLI config command group for policy inspection and validation note: if this file changes, update this header and module README.md.
Package cli exposes the command-line adapter for DeltaScope. input: config init command invocations and the built-in default policy model output: a usable YAML policy template for local users and automation pos: CLI config generation command for bootstrapping DeltaScope policy files note: if this file changes, update this header and module README.md.
Package cli exposes the command-line adapter for DeltaScope. input: a rule ID, the global --config policy path, and the config status application service output: human and JSON status for one shipped rule under the default policy plus optional config pos: CLI config status command above the application config status use case note: if this file changes, update this header and module README.md.
Package cli exposes the command-line adapter for DeltaScope. input: ddl-coverage command flags and the checked-in DDL coverage catalog JSON output: filtered catalog entries rendered as human-readable text or machine-readable JSON pos: CLI ddl-coverage command for querying the generated DDL coverage catalog note: if this file changes, update this header and module README.md.
Package cli exposes the command-line adapter for DeltaScope. input: query-access command flags including connection flags, SQL text from flags/files/stdin, and the public query access API output: rendered query access results in JSON format, exit-code mapping for CI integration pos: CLI query-access command implementation above the public DeltaScope query access API note: if this file changes, update this header and module README.md.
Package cli exposes the command-line adapter for DeltaScope. input: Cobra command construction inputs, process-like stdin/stdout/stderr dependencies, and shared CLI option state output: root command wiring for audit, rules, config, capabilities, ddl-coverage, and version subcommands pos: CLI command assembly and shared option definitions note: if this file changes, update this header and module README.md.
Package cli exposes the command-line adapter for DeltaScope. input: rule catalog queries, CLI filters, and stdout/stderr command surfaces output: shipped-rule list, detail, and search rendering for CLI discovery workflows pos: CLI rule catalog command group above the explanation-oriented domain catalog note: if this file changes, update this header and module README.md.
Package cli exposes the command-line adapter for DeltaScope. input: version command invocations and the build-time version variable output: a stable printable version string for users and scripts pos: CLI metadata command implementation note: if this file changes, update this header and module README.md.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Version = publicapi.DefaultVersion
Version is the build version printed by the version command.
Functions ¶
Types ¶
This section is empty.