prx scripts
List all available scripts for a project.
Syntax
prx scripts [project]
Description
Lists all available scripts for a project. If no project is specified, you'll be prompted to select one interactively.
Examples
Interactive selection
prx scripts
You'll be prompted to select a project from a list.
List scripts for specific project by ID
prx scripts 1
List scripts for specific project by name
prx scripts "My Project"
Output
Shows:
- Script name
- Command that will be executed
- Runner type (npm, yarn, pnpm, python, poetry, cargo, go, make)
Example Output
Available scripts for "Frontend App":
dev
Command: npm run dev
Runner: npm
build
Command: npm run build
Runner: npm
test
Command: npm test
Runner: npm
start
Command: npm start
Runner: npm
Supported Project Types
- Node.js: Scripts from
package.json - Python: Scripts from
pyproject.toml(Poetry) - Rust: Common
cargocommands - Go: Common
gocommands or Makefile targets - Makefile: Makefile targets
Related Commands
prx run- Run a specific scriptprx <project> [script]- Run with intelligent selection