- Added new
init_fli_from_toml
macro to allow initializing the app from a toml fileinit_fli_from_toml!
macro will read the toml file and initialize the app with the values
- Deprecated
init_from_toml
methodinit_from_toml
method is deprecated and will be removed in the next major release
- Added auto version option to hrlp print version using
--version
or-v
- Fix env var issue
- used
env!
macro to get the toml details from theCargo.toml
file instead ofstd::env::var
to allow compile time env instead of runtime
- used
- Fix issue on removing index out of bounds when getting values
- Added support to set app version
app.set_version("0.0.5")
- if using
init_from_toml
the version will be set from the toml file
- Properly handle the help message
- Printing list of similar command if a command is not found
- Printing the help message if the help command is found