-
-
Notifications
You must be signed in to change notification settings - Fork 315
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
Config file support #2206
Merged
Merged
Config file support #2206
Commits on Jun 25, 2024
-
feat: cli: basic config file support for hledger
And some refactoring of command line parsing code. General options only, in ./hledger.conf, for now.
Configuration menu - View commit details
-
Copy full SHA for 204df22 - Browse repository at this point
Copy the full SHA 204df22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 570a547 - Browse repository at this point
Copy the full SHA 570a547View commit details -
imp: cli: allow command options to be written before the command also
It's clearer to write command-specific flags after the command name argument, but that's no longer required. (Writing non-builtin, addon-specific flags after -- is still required). Also, give up on "obey help/doc/version flags even if there's a bad command/flag", it's too hard to do well.
Configuration menu - View commit details
-
Copy full SHA for 46cda5e - Browse repository at this point
Copy the full SHA 46cda5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 07a4b21 - Browse repository at this point
Copy the full SHA 07a4b21View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5c2ec6 - Browse repository at this point
Copy the full SHA f5c2ec6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4175dc5 - Browse repository at this point
Copy the full SHA 4175dc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1991be - Browse repository at this point
Copy the full SHA e1991beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3797fe1 - Browse repository at this point
Copy the full SHA 3797fe1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b24c09 - Browse repository at this point
Copy the full SHA 6b24c09View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3e648a - Browse repository at this point
Copy the full SHA b3e648aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 713c3f4 - Browse repository at this point
Copy the full SHA 713c3f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 969b5a8 - Browse repository at this point
Copy the full SHA 969b5a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3345adb - Browse repository at this point
Copy the full SHA 3345adbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c9b704 - Browse repository at this point
Copy the full SHA 0c9b704View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c294e9 - Browse repository at this point
Copy the full SHA 6c294e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66f4091 - Browse repository at this point
Copy the full SHA 66f4091View commit details -
Configuration menu - View commit details
-
Copy full SHA for 361b001 - Browse repository at this point
Copy the full SHA 361b001View commit details -
Configuration menu - View commit details
-
Copy full SHA for d76677c - Browse repository at this point
Copy the full SHA d76677cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f89e62c - Browse repository at this point
Copy the full SHA f89e62cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6180a16 - Browse repository at this point
Copy the full SHA 6180a16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5739bff - Browse repository at this point
Copy the full SHA 5739bffView commit details -
imp: cli: rename --rules-file to --rules; tweak options help
For brevity, and consistency with --conf. --rules-file remains supported, as a hidden option. hledger's main mode now supports the hidden legacy flags, as the command modes do.
Configuration menu - View commit details
-
Copy full SHA for 4062066 - Browse repository at this point
Copy the full SHA 4062066View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c45963 - Browse repository at this point
Copy the full SHA 5c45963View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a89adf - Browse repository at this point
Copy the full SHA 9a89adfView commit details -
Configuration menu - View commit details
-
Copy full SHA for d9f314d - Browse repository at this point
Copy the full SHA d9f314dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f285a5 - Browse repository at this point
Copy the full SHA 5f285a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8706de - Browse repository at this point
Copy the full SHA b8706deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26978ff - Browse repository at this point
Copy the full SHA 26978ffView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.