dcli v0.1.0 - Initial Release
Initial Release
Welcome to dcli v0.1.0 - a lightweight, cross-platform CLI tool for managing Docker Compose services and Git repositories.
What's New
Docker Commands
dcli docker clean- Completely clean, rebuild, and restart services (removes containers, volumes, rebuilds from Dockerfile)dcli docker restart- Stop and restart services while preserving all data and volumes
Git Commands
dcli git reset- Reset all configured repositories todeveloporacceptancebranches with a single command
Features
- ✅ Cross-platform support: macOS (Intel & Apple Silicon), Linux, Windows
- ✅ YAML-based configuration (
~/.dcli/config.yaml) - ✅ Environment variable overrides (
DCLI_PROJECT_DIR) - ✅ Comprehensive error handling with clear feedback
- ✅ Homebrew distribution ready
- ✅ GitHub Actions CI/CD for automated testing and releases
Installation
Homebrew (Recommended)
brew tap oleg-koval/dcli
brew install dcliFrom Source
git clone https://github.com/oleg-koval/dcli.git
cd dcli
make build
make installQuick Start
Docker
# Clean all services
dcli docker clean
# Clean specific services
dcli docker clean api web
# Restart services (preserves data)
dcli docker restartGit
# Reset all configured repos to develop
dcli git reset develop
# Reset all configured repos to acceptance
dcli git reset acceptanceConfigure repositories in ~/.dcli/config.yaml:
repositories:
- path: /Users/username/projects/repo1
name: repo1
- path: /Users/username/projects/repo2
name: repo2System Requirements
- Docker + Docker Compose
- Git
- macOS 10.14+, Ubuntu 18.04+, or Windows 10+
Documentation
What's Coming
- Additional Git commands (branch management)
- Docker image cleanup options
- Configuration templates
- Shell completion scripts
Testing
All 16 tests passing. CI/CD configured with GitHub Actions.
License
MIT - See LICENSE
Author
Thank you for trying dcli! For issues, feedback, or contributions, please open an issue on GitHub.