https://github.com/rmottanet/pybucket
PyBucket: A CLI tool for seamless Bitbucket interactions. Enhance your workflow with simplified repository management.
https://github.com/rmottanet/pybucket
bitbucket cli git python
Last synced: about 2 months ago
JSON representation
PyBucket: A CLI tool for seamless Bitbucket interactions. Enhance your workflow with simplified repository management.
- Host: GitHub
- URL: https://github.com/rmottanet/pybucket
- Owner: rmottanet
- License: gpl-3.0
- Created: 2024-07-10T13:11:59.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-11T13:26:37.000Z (almost 2 years ago)
- Last Synced: 2025-02-22T17:43:12.159Z (over 1 year ago)
- Topics: bitbucket, cli, git, python
- Language: Python
- Homepage: https://github.com/ws2git
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PyBucket
## ctrl+s :v:
Welcome to PyBucket, a CLI (Command Line Interface) developed in Python with the purpose of simplifying interactions with Bitbucket directly from the command line. Currently, PyBucket offers basic functionalities to create, edit, and delete repositories on Bitbucket. This project is under constant development, with plans to expand its features in the future.
## Requirements
+ [python-dotenv](https://github.com/theskumar/python-dotenv)
+ [requests](https://github.com/psf/requests)
> Note: You'll need to create an app password in your BitBucket settings to grant PyBucket access to your repositories.
>
> https://support.atlassian.com/bitbucket-cloud/docs/create-an-app-password/
## Usage
You may want to activate the virtual environment before running the pip install or python commands.
```bash
pip install -r requirements.txt
```
```bash
python app/main.py -h
```
```bash
usage: cli.py [-h] [-n NEW [NEW ...]] [-d DELETE [DELETE ...]] [-e EDIT [EDIT ...]] --workspace WORKSPACE [--project PROJECT] [--public]
PyBucket - A tiny BitBucket CLI.
optional arguments:
-h, --help show this help message and exit
-n NEW [NEW ...], --new NEW [NEW ...]
Create a new repository on BitBucket.
Usage: -n REPO_NAME [DESCRIPTION] --project --workspace
-d DELETE [DELETE ...], --delete DELETE [DELETE ...]
Deletes a repository on BitBucket.
Usage: -d REPO_NAME --workspace
-e EDIT [EDIT ...], --edit EDIT [EDIT ...]
Edit a repository on BitBucket.
Usage: -e REPO_NAME [--description NEW_DESCRIPTION] [--public]
--workspace WORKSPACE
Bitbucket Workspace Name
--project PROJECT Bitbucket Project Id
--public Specify if the repository should be public
```
---
Thank you for considering **PyBucket** for your needs. While it may be a modest tool compared to others, I hope it proves useful in simplifying your interactions with Bitbucket. If you have any feedback or suggestions, don't hesitate to reach out. Nice coding!