Skip to content
ZeroDayZ7Public

About

A CLI tool for scaffolding microservices and developer utilities in Go.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

CMDR

A fast, developer-friendly CLI toolkit for Go developers.

CMDR is a collection of practical command-line tools designed to simplify everyday development tasks, automate repetitive work, and improve productivity.

Table of Contents

Features

  • Project Management – detect project structures and bootstrap development environments.
  • Asset Utilities – generate favicon sets and resize images.
  • Cryptography – encrypt and decrypt files, generate keys, and create secure random data.
  • File Management – combine files, remove comments, and organize project contents.
  • System Utilities – inspect processes, manage ports, and perform system operations.
  • Developer Tools – explore project structures, inspect Go environments, and automate common tasks.

Installation

Download the latest version for your platform from GitHub Releases.

Extract the archive and make the cmdr executable available in your system PATH.

Usage

Display the main help:

cmdr --help

Get help for a specific command:

cmdr assets --help
cmdr crypto --help
cmdr tree --help

Available Commands

Command Description
assets Image utilities for generating favicons and resizing images.
ask Send questions to an AI API and receive responses.
clear Delete directories with a specified name in the current project.
completion Generate shell autocompletion scripts.
create-service Create a new microservice from a template.
crypto Cryptographic tools for encryption, decryption, keys, hashing, and random data.
files-combine Combine files with selected extensions into a single file.
hello Display a greeting.
info Show recommended Go project structures and development information.
killport Find and optionally terminate the process using a specified port.
killprocess Find and terminate processes by name.
remove-comments Remove comments from a file or directory.
tree Display directory structures in a readable tree format.
version Display application version and build information.
doctor Check application configuration, permissions, connectivity, and updater readiness.

For detailed usage and available flags, run:

cmdr <command> --help

Examples

Asset Utilities

Generate a favicon set:

cmdr assets favicon --input ./logo.png --output ./generated

Resize an image:

cmdr assets resize --input ./source.png --output ./out/resized.jpg --width 1200 --height 800 --fit cover

Initialize the default assets configuration:

cmdr assets config init

Cryptography

Generate a secure 20-character password:

cmdr crypto r -t p -l 20

Generate a 32-byte AES key:

cmdr crypto r -t a -l 32

Encrypt a file using Argon2id and AES-GCM:

cmdr crypto pass-encrypt -f secret.txt -p MyPassword123

Decrypt an encrypted file:

cmdr crypto pass-decrypt -f encrypted/secret.txt.enc -p MyPassword123

Version and Diagnostics

Display version information:

cmdr version

Check application health:

cmdr doctor

Run detailed diagnostics:

cmdr doctor --verbose

Documentation

Detailed guides and command documentation are available in the docs/ directory.

Document Description
Commands Reference Detailed command reference and flags.
Project Profiles Project detection and profile management.
Prepare Password Password preparation utilities.
Tree Usage Directory tree generation and options.
Asset Utilities Image processing and favicon generation.
Updating Stable and pre-release update channels.
Releasing Building and publishing releases.

Supported Platforms

  • Windows x64 (AMD64)
  • Linux x64 (AMD64)

Updates

CMDR provides two update channels:

  • Stable – recommended for everyday use.
  • Pre-release – early access to upcoming versions.

Check for stable updates:

cmdr update --check

Install the latest stable version:

cmdr update

Check for pre-releases:

cmdr update --check --prerelease

Install the latest pre-release:

cmdr update --prerelease

License

See LICENSE for license information.

About

A CLI tool for scaffolding microservices and developer utilities in Go.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages