Skip to content

v1.0.0

Choose a tag to compare

@mirkobrombin mirkobrombin released this 30 Apr 13:50
· 31 commits to main since this release

Changelog

First release.

Features

  • Simple Command Definition: Easily define commands and subcommands with names, usage descriptions, and detailed descriptions.
  • Flag Handling: Supports string, integer, and boolean flags with default values and the ability to allow arguments.
  • Short Flag Names: Implements short names for flags (e.g., -n for --name).
  • Root Flags: Allows defining flags at the root level that are accessible to all subcommands.
  • Environment Variable Integration: Provides convenient functions to retrieve values from environment variables with default fallbacks.
  • Built-in Help Generation: Automatically generates help messages for the root command and subcommands.
  • Customizable Logging: Includes a basic logging system with different levels (info, warning, error, success).
  • Command Aliases: Supports creating aliases for commands and subcommands.
  • Shell Completion: Generates shell completion scripts for Bash, Zsh, and Fish.

Resources