Nester is a command-line interface (CLI) tool written in Rust that helps generate basic structures for **Kotlin/Ktor ** projects using Koin as a dependency injector.
chmod +x ./scripts/install.sh
./scripts/install.shThis script:
- Compiles the project in release mode.
- Checks if a previous version exists in
/usr/local/bin/.- If found, it creates a backup before replacing it.
- Moves the new binary to
/usr/local/bin/.
yay -S nester wget https://github.com/fedeegmz/nester/releases/download/v0.1.0/nester
chmod +x nester
sudo mv nester /usr/local/bin/ nester generate --path <file_path> --name --pkgParameters:
--path: Path and name of the file to generate (required)--name: Name for the generated content (optional)--pkg: Package name for the generated content (optional)
Example:
nester generate --path Injection.kt --name user --pkg com.exampleTo uninstall nester, run:
chmod +x ./scripts/uninstall.sh
./scripts/uninstall.shThis script:
- Checks if
nesterexists in/usr/local/bin/. - Removes the binary if found.
If you want to remove all backup files created during installation, run:
chmod +x ./scripts/clean_backups.sh
./scripts/clean_backups.shThis script:
- Finds all backup files matching
/usr/local/bin/nester.backup_*. - Deletes them permanently.
- Rust 1.70+
This project is licensed under the GPL-3.0 License. See the full license here.