A wrapper CLI for Git and GitHub CLI. Uses Bun to compile to an .exe
that can be run from the terminal and adds shorthand commands for ease of use. Currently supported commands are:
- Open local repo
- Create new repo both locally and on GitHub
- Upload existing repo to GitHub
Make sure you have GitHub CLI installed by running
gh
Clone the project
git clone git@github.com:leifssm/rocket.git
Go to the project directory
cd rocket
Install dependencies
bun install
Edit the ./lib/constants.ts
file to include your dev folder and you GitHub username
export const DEV_FOLDER = "~/dev/";
export const GITHUB_USER = "YOUR_GITHUB_USERNAME";
Run the program by running
bun run dev
Or, compile it to an .exe:
Either build it to ./build/rocket.exe
bun run build:test
Or, build it to ~/dev/executables/rocket.exe
bun run build:global
Add the .exe
's parent folder to PATH and run it with
rocket