Commands
nyl provides several commands for managing Kubernetes manifests:
Available Commands
Section titled “Available Commands”Phase 1 (Current)
Section titled “Phase 1 (Current)”Phase 2+ (Coming Soon)
Section titled “Phase 2+ (Coming Soon)”rendering-pipeline- Shared rendering pipeline used by render/diff/applyrender- Render Kubernetes manifestsdiff- Show diff between rendered manifests and cluster stateapply- Apply rendered manifests to the clustercluster-info- Print Kubernetes version and API versions for offline rendering
Global Options
Section titled “Global Options”--verbose / -v
Section titled “--verbose / -v”Enable verbose logging for debugging.
nyl --verbose validatenyl -v new project my-app--color <COLOR>
Section titled “--color <COLOR>”Control when to use colored output. Accepts three values:
auto(default) - Automatically detect if colors should be used based on TTY detectionalways- Always use colors, even when output is redirected to a file or pipenever- Never use colors
This applies to both:
- Colored output from commands (diffs, status indicators, etc.)
- Log messages from
tracing(INFO, WARN, ERROR)
This flag is particularly useful when:
- Redirecting output to a file where ANSI color codes are not desired
- Working in environments where terminal color support is inconsistent
- Forcing colored output in CI/CD pipelines that support ANSI colors
# Disable colors when piping to a filenyl --color never diff | tee output.txt
# Force colors in CI/CDnyl --color always diff
# Auto-detect (default behavior)nyl diff--help / -h
Section titled “--help / -h”Show help information for any command.
nyl --helpnyl new --helpnyl validate --help--version / -V
Section titled “--version / -V”Show the version of nyl.
nyl --version