Skip to content

Conversation

@kirubel12
Copy link

@kirubel12 kirubel12 commented May 3, 2025

This PR introduces a comprehensive CLI tool for the randomized-string package, providing developers with a powerful command-line interface to generate random strings with various customization options.

Key Features:

  • Interactive Mode : Implemented using @clack/prompts for an intuitive user experience
  • Customization Options :
    • Length control ( -l )
    • Character set selection ( -c )
    • Case sensitivity options ( --lower-case-only , --upper-case-only )
    • Symbol insertion ( --insert-symbol , --symbols-only )
    • Prefix/Suffix support ( -p , -s )
    • Custom character ranges ( -r )
    • Emoji generation ( -e )

Implementation Details:

  • Built using Node.js with Commander.js for command parsing
  • Includes comprehensive error handling and input validation
  • Follows security best practices for CLI development

node bin/cli.js -i

Screenshot 2025-05-03 151930

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant