launchPro is a small Python CLI for opening local RStudio projects, optional Shiny project folders, and project GitHub pages from a single command.
Current version: 0.1.1
- Python 3.9 or newer
- A local project folder containing exactly one
.Rprojfile - Windows, macOS or Linux
The recommended way to install launchPro is using pipx, which installs the package in an isolated environment and automatically manages your PATH.
git clone https://github.com/mi-erasmusmc/launchPro
cd launchPro
pipx install .Show help:
launch --helpRegister a project first:
launch register MyProject ~/Documents/my-project - https://github.com/your-org/my-project
launch register MyStudy ~/Documents/my-study ~/Documents/my-study/inst/shiny/App https://github.com/your-org/my-studyThen open the main project folder:
launch MyProject -pOpen the Shiny project and GitHub page:
launch MyStudy -s -gIf no flag is provided, launch opens the main project by default:
launch MyProjectAdd or update a project entry in the app-data projects.json:
launch register MyProject ~/Documents/my-project - https://github.com/your-org/my-projectUse - when the project does not have a Shiny folder. If it does, pass the Shiny directory instead:
launch register MyStudy ~/Documents/my-study ~/Documents/my-study/inst/shiny/App https://github.com/your-org/my-study- Paths may use
~and environment variables. - The CLI fails if a target folder does not exist or contains zero or multiple
.Rprojfiles. - On macOS it uses
open, on Linuxxdg-open, and on Windows the system default file opener. - For local development without installing, run
./launch ...from the repository root.
This project is licensed under the Apache License 2.0. See LICENSE for the full text.