cutefetch icon indicating copy to clipboard operation
cutefetch copied to clipboard

feat: parse CLI args using getopt

Open cybardev opened this issue 2 years ago • 0 comments

Description

Currently the script uses very basic pattern matching to parse command-line arguments. We want to use getopt instead.

Changes Requested

  • use getopt to parse command-line arguments

Tests

  • [ ] ran with no args
  • [ ] ran with -h flag
  • [ ] ran with --help flag
  • [ ] ran with short flag for each animal
    • [ ] ran with each eye option
  • [ ] ran with long flag for each animal
    • [ ] ran with each eye option

Reviewers

  • N/A

cybardev avatar Jan 07 '24 17:01 cybardev