Skip to content

v1.0.0

Compare
Choose a tag to compare
@Gadiguibou Gadiguibou released this 17 Aug 21:20
· 54 commits to master since this release

Flags!

stdrename now uses a command-line argument parsing library instead of the previously manual parsing. The result is a much more user-friendly usage and a beautiful automatically generated help page

$ stdrename -h
stdrename v1.0.0
Gabriel Lacroix <lacroixgabriel@gmail.com>
This small utility is designed to rename all files in a folder according to a specified naming convention (camelCase,
snake_case, kebab-case, etc.).

USAGE:
    stdrename [FLAGS] <--camel|--kebab|--pascal|--screaming|--sentence|--snake|--title|--train> [TARGET]

FLAGS:
    -p, --pascal       Uses the PascalCase naming convention
        --screaming    Uses the SCREAMING_SNAKE_CASE naming convention
    -S, --sentence     Uses the Sentence case naming convention
    -T, --title        Uses the Title Case naming convention
    -t, --train        Uses the Train-Case naming convention
    -c, --camel        Uses the camelCase naming convention
    -h, --help         Prints help information
    -k, --kebab        Uses the kebab-case naming convention
    -r, --recursive    Makes renaming recursive, renaming files in subfolders as well
    -s, --snake        Uses the snake_case naming convention
    -V, --version      Prints version information

ARGS:
    <TARGET>    Specifies a different target directory