Run Project
Detect the project type and run it appropriately.
Detection Order
- •Check for
pyproject.tomloruv.lock-> Useuv run - •Check for
Cargo.toml-> Usecargo run - •Check for
go.mod-> Usego run . - •Check for
package.json-> Usenpm run(check scripts) - •If a specific file is provided as $ARGUMENTS, run that file directly
Execution
- •Python:
uv run python $ARGUMENTSoruv run . - •Rust:
cargo run $ARGUMENTS - •Go:
go run . $ARGUMENTSorgo run $ARGUMENTS - •Node.js: Check
package.jsonscripts, default tonpm startornode $ARGUMENTS
If $ARGUMENTS is empty, run the main entry point. If $ARGUMENTS is provided, pass it as arguments or run that specific file.