Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use getopt to parse command-line arguments #10

Open
cybardev opened this issue Nov 16, 2023 · 1 comment · May be fixed by #12
Open

feat: use getopt to parse command-line arguments #10

cybardev opened this issue Nov 16, 2023 · 1 comment · May be fixed by #12
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@cybardev
Copy link
Owner

cybardev commented Nov 16, 2023

Description

Given that the complexity of this script has been rising recently, we think it's big enough to warrant using getopt to parse command-line arguments.

Changes Requested

  • use getopt to parse command-line arguments
  • try to make certain combinations invalid, e.g. cutefetch --random eyes paired with an eye number. (randomizer to be implemented for feat: add randomizer function #9)

Acceptance Criteria

  • script uses getopt to parse command-line arguments
  • rejects invalid flag combinations

Resources

Blockers

@cybardev cybardev added the enhancement New feature or request label Nov 16, 2023
@cybardev
Copy link
Owner Author

cybardev commented Nov 16, 2023

UPDATE: flag validation will be done in a separate ticket. For now, the goal is just to have feature parity with the current script but using getopt

@cybardev cybardev self-assigned this Nov 19, 2023
@cybardev cybardev linked a pull request Jan 7, 2024 that will close this issue
7 tasks
@cybardev cybardev added the good first issue Good for newcomers label Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant