Harbor is Dotnet CLI tool that are meant to help you with handling development dependencies like databases and cache services.
Harbor spins up small docker containers for each enabled services
- MacOS, Linux, Windows
- Dotnet installed
- Docker installed (MacOS: Docker for Mac, Windows: Docker for Windows)
Install harbor with dotnet tool by running:
dotnet tool install --global harbor
Validate your install with the following command
harbor help
Enables a giving service
harbor enable mysql
Disable a giving service. And will delete all related data to the service. Note this action can't be reserved. If you whise to stop a service. See [Stop service]
harbor disable {container_id}
Disable all services. And will delete all related data to the service. Note this action can't be reserved. If you whise to stop a service. See [Stop service]
harbor disable --all
Stop a running service
harbor stop {container_id}
Stops all running service
harbor stop --all
Start a existing service
harbor start {container_id}
Start all services
harbor start --all
List all enabled services. Will provide you with the container id used for start/stopping a service
harbor list
Enables you to show the logs from within the service
harbor log {container_id}
Feel free to contribute with pull requests, bug reports or enhancement suggestions. We love PR's
- Add additional services