fedimint icon indicating copy to clipboard operation
fedimint copied to clipboard

Consider using configure_me for daemons

Open Kixunil opened this issue 4 years ago • 0 comments

configure_me is an alternative to structopt/clap written by me with focus on these things:

  • ability to combine multiple sources of configuration: files and "parts" directories, env vars, arguments
  • being GNU-like (supports all combinations in arguments --foo, -f, -xyz, --foo bar, --foo=bar, -xyzf=bar, -xyzfbar
  • has automated man page generation
  • no stringly interfaces
  • OsString/PathBuf are handled correctly
  • nice error messages

It currently does not support:

  • subcommands
  • shell completion
  • typo-detection with friendly message

As a result it may be currently more suitable for daemons than daily-used CLI commands. Especially if those daemons need to be configured with private information (which MUST NOT go to arguments).

Importance: medium

Kixunil avatar Sep 20 '21 20:09 Kixunil