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

refactor cli flags #95

Closed
pointbazaar opened this issue Sep 15, 2024 · 0 comments
Closed

refactor cli flags #95

pointbazaar opened this issue Sep 15, 2024 · 0 comments

Comments

@pointbazaar
Copy link
Owner

currently the cli flags for 'sd' are too much handcoded.
The '-help' contents are just handcoded aswell.

Each flag should be an instance of a 'struct Flag' and contain the help text and such, so that the help can be autogenerated.

pointbazaar added a commit that referenced this issue Dec 20, 2024
Use an array to describe the available flags.
The flags are no longer hardcoded and the -help section is also
generated from that array.

This way it will be easier to add more flags in the future.

resolves #95
pointbazaar added a commit that referenced this issue Dec 20, 2024
Use an array to describe the available flags.
The flags are no longer hardcoded and the -help section is also
generated from that array.

This way it will be easier to add more flags in the future.

resolves #95
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

No branches or pull requests

1 participant