|
1 | | -# GuildMaster CLI |
| 1 | +# 🧙 GuildMaster CLI |
2 | 2 |
|
3 | | -🚧 This repository is still in progress, and won't be complete until for a little while. 🚧 |
| 3 | +[](https://www.python.org/) |
| 4 | +[](https://opensource.org/licenses/MIT) |
| 5 | +[](https://makeapullrequest.com) |
| 6 | + |
4 | 7 |
|
5 | | -command to bump version: |
| 8 | +> ⚔️ **GuildMaster CLI** is an administrative command-line interface built for managing the [DSB Discord](https://discord.gg/devsecblueprint) server. Automate tedious tasks like role synchronization and more as this tool evolves. |
6 | 9 |
|
| 10 | +## 🚧 Project Status |
| 11 | + |
| 12 | +GuildMaster CLI is currently under active development. Right now, it includes core functionality to update all Discord roles via a single command. |
| 13 | + |
| 14 | +Stay tuned as new features (like event management, audit logging, and quest assignments 👀) are rolled out! |
| 15 | + |
| 16 | +## 🧰 Features |
| 17 | + |
| 18 | +- ✅ Update all Discord roles with a single command |
| 19 | +- 🚧 Built with [Python Fire](https://github.com/google/python-fire) for rapid CLI development |
| 20 | +- ✨ Designed for server maintainers, moderators, and admins in the DSB community |
| 21 | + |
| 22 | + |
| 23 | +## 📦 Installation |
| 24 | + |
| 25 | +1. **Clone the repo**: |
| 26 | + ```bash |
| 27 | + git clone https://github.com/The-DevSec-Blueprint/guildmaster-cli.git |
| 28 | + cd guildmaster-cli |
| 29 | + ``` |
| 30 | + |
| 31 | +2. **(Optional) Create and activate a virtual environment**: |
| 32 | + |
| 33 | + ```bash |
| 34 | + python -m venv venv |
| 35 | + source venv/bin/activate # or venv\Scripts\activate on Windows |
| 36 | + ``` |
| 37 | + |
| 38 | +3. **Install dependencies**: |
| 39 | + |
| 40 | + ```bash |
| 41 | + pip install -r requirements.txt |
| 42 | + ``` |
| 43 | + |
| 44 | +## 🚀 Usage |
| 45 | + |
| 46 | +You must have your Discord bot token and configuration ready in a `.env` file or exported as environment variables. |
| 47 | + |
| 48 | +```bash |
| 49 | +python guildmaster.py update_roles |
| 50 | +``` |
| 51 | + |
| 52 | +This command will trigger a role sync across the DSB Discord server using your preconfigured bot permissions. |
| 53 | + |
| 54 | + |
| 55 | +## 🛠 Version Management |
| 56 | + |
| 57 | +This project uses [bumpver](https://github.com/mbarkhau/bumpver) for consistent versioning. |
| 58 | + |
| 59 | +```bash |
| 60 | +# Patch bump (e.g., 1.0.0 → 1.0.1) |
7 | 61 | bumpver update --patch |
8 | | -bumpver update --major |
| 62 | + |
| 63 | +# Minor bump (e.g., 1.0.1 → 1.1.0) |
9 | 64 | bumpver update --minor |
| 65 | + |
| 66 | +# Major bump (e.g., 1.1.0 → 2.0.0) |
| 67 | +bumpver update --major |
| 68 | +``` |
| 69 | + |
| 70 | + |
| 71 | +## 🧪 Contributing |
| 72 | + |
| 73 | +We welcome pull requests! If you'd like to contribute: |
| 74 | + |
| 75 | +1. Fork the repo |
| 76 | +2. Create a new branch (`git checkout -b feat/add-feature`) |
| 77 | +3. Commit your changes (`git commit -m 'add cool feature'`) |
| 78 | +4. Push to your branch (`git push origin feat/add-feature`) |
| 79 | +5. Open a PR! |
| 80 | + |
| 81 | +## 📜 License |
| 82 | + |
| 83 | +Licensed under the [MIT License](https://opensource.org/licenses/MIT). |
| 84 | + |
| 85 | +## 💬 Join the Community |
| 86 | + |
| 87 | +Need help or want to hang out? Join the DSB Discord community: |
| 88 | + |
| 89 | +[](discord.gg/enMmUNq8jc) |
| 90 | + |
| 91 | +> Made with ❤️ for the builders who shift left and secure everything—code, cloud, and community. |
0 commit comments