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

feature request: add --help option #8

Open
aanderse opened this issue Oct 6, 2024 · 2 comments
Open

feature request: add --help option #8

aanderse opened this issue Oct 6, 2024 · 2 comments

Comments

@aanderse
Copy link

aanderse commented Oct 6, 2024

πŸ™‡β€β™‚οΈ

@nikstur
Copy link
Owner

nikstur commented Oct 6, 2024

This would almost certainly involve pulling in a CLI crate (i.e. most likely clap) and thus siginifanctly increase the binary size. It's a tradeoff for which I haven't made up my mind yet. Can you expand why you would like an --help option?

Same story for #9

@aanderse
Copy link
Author

aanderse commented Oct 6, 2024

if argv[1] == "--help" then
  print("userborn v $version")
  print("usage: userborn <configfile> <directory to write to>"

just that would be a huge improvement
i had to dig into the source code because i had no idea how to operate the program

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

2 participants