prx add
Add a project to the dashboard.
Syntax
prx add [path] [options]
Options
-n, --name <name>: Set a custom name for the project (defaults to directory name)
Description
Adds a project to the projax dashboard. If no path is provided, you'll be prompted to enter one interactively.
When adding a project, you'll be prompted to:
- Enter a custom name (if not provided via
--name) - Optionally scan for test files
- Automatically scan for ports in configuration files
Examples
Add with custom name
prx add /path/to/project --name "My Awesome Project"
Add with short flag
prx add /path/to/project -n "Frontend App"
Interactive mode
prx add
You'll be prompted to:
- Enter the project path
- Enter a custom name (with directory name as default)
Add with path only
prx add /path/to/project
Will prompt for name with directory name as default.
What Happens
- Project is added to the database with a unique ID
- Project path is validated
- Ports are automatically scanned from configuration files
- Optionally scans for test files if you choose to
Supported Project Types
The CLI automatically detects project types:
- Node.js (package.json)
- Python (pyproject.toml)
- Rust (Cargo.toml)
- Go (go.mod)
- Makefile projects
Port Scanning
Ports are automatically extracted from:
vite.config.js/tsnext.config.js/tswebpack.config.jsangular.jsonnuxt.config.js/tspackage.jsonscripts.envfiles
Related Commands
prx list- View all projectsprx scan- Scan for tests and portsprx remove- Remove a project