CLI Commands
CLI Commands ReferenceLink
This is the complete reference for all 14 Sierra Dev CLI commands. These commands allow you to manage repositories, install packages, and maintain your environment.
đĻ Repository CommandsLink
Manage the sources where Sierra Dev looks for packages.
sierra-dev repo addLink
Add a GitHub repository as a package source.
Syntax:
| Bash | |
|---|---|
Options:
- --name <name>: Custom name for the source (e.g., "community").
- --branch <branch>: Git branch to use (default: main).
- --priority <n>: Priority level (lower number = higher priority). Default is 10.
Examples:
| Bash | |
|---|---|
sierra-dev repo listLink
List all configured repositories and their status.
Syntax:
| Bash | |
|---|---|
Output: Displays a table of sources, their URLs, priorities, and enabled status.
sierra-dev repo updateLink
Fetch the latest package registries from all configured sources.
Syntax:
| Bash | |
|---|---|
Arguments:
- source (optional): Update only a specific source by name.
Examples:
sierra-dev repo removeLink
Remove a repository source.
Syntax:
| Bash | |
|---|---|
đ Discovery CommandsLink
Find and explore available packages.
sierra-dev searchLink
Search for packages across all repositories.
Syntax:
| Bash | |
|---|---|
Options:
- --tag <tag>: Filter by tag (e.g., "osint").
- --category <cat>: Filter by category.
- --source <src>: Filter by source repository.
Examples:
sierra-dev infoLink
Show detailed information about a specific package.
Syntax:
| Bash | |
|---|---|
Output: Displays description, author, version, source, tags, and installation instructions.
đŋ Package ManagementLink
Install, update, and remove packages.
sierra-dev installLink
Install one or more packages into your environment.
Syntax:
| Bash | |
|---|---|
Options:
- --env <name>: Target environment (default: test_env).
- --force: Force re-installation even if already installed.
- --skip-validation: Bypass type safety checks (use with caution).
Examples:
sierra-dev updateLink
Update installed packages to the latest version.
Syntax:
| Bash | |
|---|---|
Options:
- --all: Update ALL installed packages.
- --env <name>: Target environment.
Examples:
sierra-dev upgradableLink
List all packages that have updates available.
Syntax:
| Bash | |
|---|---|
sierra-dev removeLink
Uninstall a package.
Syntax:
| Bash | |
|---|---|
sierra-dev listLink
List available or installed packages.
Syntax:
| Bash | |
|---|---|
Options:
- --installed: Show only installed packages.
- --env <name>: Target environment.
đ ī¸ Development & HealthLink
Maintain and validate your environment.
sierra-dev initLink
Initialize a new Sierra environment.
| Bash | |
|---|---|
name: Name of the environment directory (default:default_env)--force: Overwrite existing configuration if present
sierra-dev cleanLink
Clean generated files from the environment.
| Bash | |
|---|---|
--env: Target environment (default:default_env)
sierra-dev buildLink
Compile invoker scripts and generate configuration.
Syntax:
| Bash | |
|---|---|
Options:
- --env <name>: Target environment.
- -v, --verbose: Enable debug logging.
sierra-dev checkLink
Run comprehensive validation checks on your invokers.
Syntax:
| Bash | |
|---|---|
Checks Performed: - YAML configuration validity - Parameter definitions - Type annotations - Reserved keywords
sierra-dev healthLink
Check the overall health of the Sierra Dev environment.
Syntax:
| Bash | |
|---|---|
Checks Performed: - Configuration existence - Directory structure - Virtual environment status - Permission checks
âšī¸ Global OptionsLink
These options apply to all commands:
-h, --help: Show help message and exit.-v, --verbose: Enable verbose output (debug logs).
đĄ TipsLink
- Use
sierra-dev repo updatefrequently to get the latest package versions. - Use
sierra-dev checkbefore building to catch errors early. - Combine
sierra-dev searchwith tags for precise discovery.