bdo-cli is a small Rust CLI for common Git, GitHub, and repository workflow commands.
Install the CLI with Cargo:
cargo install --git https://github.com/hellobdo/bdo-cli --tag v1.2.0This installs the bdo binary into Cargo's bin directory, usually ~/.cargo/bin.
Make sure that directory is available in your PATH.
bdo-cli shells out to existing developer tools. Before using it, install:
- Rust and Cargo: for installing and updating the CLI
- Git: for repository operations
- GitHub CLI: for creating GitHub repositories
You should also be authenticated with the GitHub CLI before using bdo create:
gh auth loginbdo help- Show all available commandsbdo create <repo-name>- Create a local repository, make the initial commit, and create the GitHub repositorybdo push- Add, commit, and push changesbdo branch <branch-name>- Create and push a new branchbdo checkout- Switch back tomain, delete the previous branch, and resetmaintoorigin/main
Run the CLI locally with Cargo:
cargo run -- helpRun the Rust checks used by CI:
cargo fmt --check
cargo clippy --all-targets --all-features -- -D warnings
cargo test --all-targets --all-features
cargo build --release --lockedIf you installed with Cargo, uninstall with:
cargo uninstall bdo-cliThis project is licensed under the MIT License. See LICENSE for details.