dot
is a collection of CLI tools for developers and DevOps.
Supported versions: .NET 8+
AdeoTEK DevOps Tools NuGet package can be found on nuget.org.
# Install latest version (preview version are not included)
dotnet tool install --global AdeoTEK.DevOpsTools
# Install specific version
dotnet tool install --global Adeotek.DevOpsTools --version <specific_version>
dotnet tool update -g AdeoTEK.DevOpsTools
dot <command> <subcommand> [arguments] [options]
# or
dotnet dot <command> <subcommand> [arguments] [options]
To get more information about a command, run:
dot <command> --help
# or
dot <command> <subcommand> --help
Docker/Podman containers management tool. The subcommand work in a similar way to docker-compose
, but with the ability to target individual services (containers).
The subcommands allows for containers manipulation based on configuration files written in YAML or JSON.
The configuration file structure is compatible with docker-compose
configuration files with a few small caveats (see ContainersConfiguration.md).
up
- Create/Update Docker/Podman containers based on YAML/JSON configuration filesdown
- Remove Docker/Podman containers based on YAML/JSON configuration filesbackup
- Backup Docker/Podman containers volumes based on YAML/JSON configuration filesstart
- Start Docker/Podman containers based on YAML/JSON configuration filesstop
- Stop Docker/Podman containers based on YAML/JSON configuration filesrestart
- Restart Docker/Podman containers based on YAML/JSON configuration filesconfig
- YAML/JSON configuration files generator/checkervalidate
- Validate existing YAML/JSON configuration filesample
- Generate new sample YAML/JSON configuration file
Check ContainersConfiguration.md for more information about the configuration files.
Email tools.
send
- Send an email message based on a configuration file or provided options
Check EmailConfiguration.md for more information about the configuration files.
TCP Ports tools.
listen
- Start a listener on the provided TCP portprobe
- Probe (check if listening) a local or remote TCP port
This tool allows for adding/removing/checking the BOM (Byte Order Mark) signature of UTF-8 encoded files.
add
- Add BOM (Byte Order Mark) to any UTF-8 files that do not have itremove
- Remove BOM (Byte Order Mark) from any UTF-8 files that have it
To only check if BOM is present, without changing it, use the add
/remove
subcommands together with the --dry-run
option.