Vuer CLI
Vuer provides an extensible command-line interface that discovers commands from installed plugins.
Installation
Basic Usage
Plugin System
Vuer CLI uses Python entry points to discover commands. Any package can register commands under the vuer.cli entry point group.
Creating a Plugin
- Create a command class using params-proto dataclass
- Register in pyproject.toml under
[project.entry-points."vuer.cli"] - Install your package and the command appears in
vuer --help
Example: Creating a Custom Command
Then register in your pyproject.toml:
After installing your package, the command becomes available:
Available Plugins
| Package | Commands | Description |
|---|---|---|
| vuer | serve, version | Core commands |
| vuer-ptc-viz | minimap, viz-ptc-cams, viz-ptc-proxie | Point cloud visualization |
Command Discovery
When you run vuer --help, the CLI discovers all installed packages that register commands under the vuer.cli entry point group. This allows the ecosystem to grow organically as new visualization tools are developed.
Configuration
Commands can accept configuration via:
- Command-line flags:
vuer serve --port 8080 - Environment variables:
VUER_PORT=8080 vuer serve - Config files: params-proto supports YAML/JSON config loading
Tips
- Use
vuer <command> --helpto see all options for a specific command - Commands inherit from
ParamsProtofor automatic CLI argument parsing - Plugin commands are loaded lazily for fast startup times