commands

Complete reference for all trovl commands and options.

Global Flags

These flags can be used with any command:

Flag Description
--debug Show debug information for troubleshooting
--dry-run Walk through an operation without making changes
-h, --help Display help information
-v, --verbose Show verbose output for actions taken
--version Display trovl version

Commands

Command Documentation
add cli/add
apply cli/apply
generate cli/generate
plan cli/plan
remove cli/remove
completion trovl completion --help
help trovl [command] --help

completion

Generate shell completion scripts for trovl commands.

1
trovl completion [shell]

Supported shells:

  • bash
  • zsh
  • fish
  • powershell

Examples:

1
2
3
4
5
6
7
8
9
10
11
# Generate bash completion
trovl completion bash > /etc/bash_completion.d/trovl

# Generate zsh completion
trovl completion zsh > "${fpath[1]}/_trovl"

# Generate fish completion
trovl completion fish > ~/.config/fish/completions/trovl.fish

# Generate PowerShell completion
trovl completion powershell | Out-String | Invoke-Expression

help

Display help information for any command.

1
trovl help [command]

Examples:

1
2
3
4
5
6
# General help
trovl help

# Help for specific command
trovl help add
trovl help apply

This can also be used as:

1
trovl [command] --help

Table of contents