Skip to content

dcli v0.1.0 - Initial Release

Choose a tag to compare

@oleg-koval oleg-koval released this 03 Apr 07:11
· 80 commits to main since this 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 to develop or acceptance branches 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 dcli

From Source

git clone https://github.com/oleg-koval/dcli.git
cd dcli
make build
make install

Quick Start

Docker

# Clean all services
dcli docker clean

# Clean specific services
dcli docker clean api web

# Restart services (preserves data)
dcli docker restart

Git

# Reset all configured repos to develop
dcli git reset develop

# Reset all configured repos to acceptance  
dcli git reset acceptance

Configure repositories in ~/.dcli/config.yaml:

repositories:
  - path: /Users/username/projects/repo1
    name: repo1
  - path: /Users/username/projects/repo2
    name: repo2

System 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

@oleg-koval


Thank you for trying dcli! For issues, feedback, or contributions, please open an issue on GitHub.