Skip to content

v0.1.4

Choose a tag to compare

@github-actions github-actions released this 21 Jun 18:05

Added

  • Initial release of mkdir2.
  • Cross-platform path handling: / and \ are interchangeable separators
    on every platform.
  • Bash-compatible brace expansion ({a,b,c}, nested groups, numeric ranges
    with optional step and zero-padding, alpha ranges, cartesian products).
  • Automatic parent directory creation by default, with --no-parents to
    opt into strict classic mkdir behavior.
  • -f, --force to delete and recreate an existing target, with
    --no-recursive-remove and -i, --interactive safety controls.
  • -m, --mode for setting Unix octal permissions on new directories.
  • --gitkeep to drop a .gitkeep file in every newly created directory.
  • -v, --verbose, -q, --quiet, -n, --dry-run, --stats, --strict.
  • --json machine-readable report output with proper non-zero exit codes
    on failure.
  • --from FILE for batch creation from a pattern file (or stdin via -).
  • Themeable colored + emoji output, with --color auto|always|never,
    --no-emoji, custom --color-success/error/warn/info hex colors, and
    NO_COLOR environment variable support.