harbor 1.0.4
See the version list below for details.
dotnet tool install --global harbor --version 1.0.4
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local harbor --version 1.0.4
#tool dotnet:?package=harbor&version=1.0.4
nuke :add-package harbor --version 1.0.4
Harbor
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
Requirements
- MacOS, Linux, Windows
- Dotnet installed
- Docker installed (MacOS: Docker for Mac, Windows: Docker for Windows)
Installation
Install harbor with dotnet tool by running:
dotnet tool install --global harbor
Validate your install with the following command
harbor help
Usage
Enable service
Enables a giving service
harbor enable mysql
Disable a service
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
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 service
Stop a running service
harbor stop {container_id}
Stop all services
Stops all running service
harbor stop --all
Start a service
Start a existing service
harbor start {container_id}
Start all services
Start all services
harbor start --all
List enabled service
List all enabled services. Will provide you with the container id used for start/stopping a service
harbor list
Logs from service
Enables you to show the logs from within the service
harbor log {container_id}
How to Contribute
Feel free to contribute with pull requests, bug reports or enhancement suggestions. We love PR's
Future plan
- Add additional services
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
This package has no dependencies.