nikstur / userborn

Declaratively bear (manage) Linux users and groups
MIT License
48 stars 1 forks source link

feature request: add --help option #8

Open aanderse opened 1 month ago

aanderse commented 1 month ago

:bowing_man:

nikstur commented 1 month ago

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 https://github.com/nikstur/userborn/issues/9

aanderse commented 1 month ago
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