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

Config file support #2206

Merged
merged 28 commits into from
Jun 26, 2024
Merged

Config file support #2206

merged 28 commits into from
Jun 26, 2024

Commits on Jun 25, 2024

  1. feat: cli: basic config file support for hledger

    And some refactoring of command line parsing code.
    
    General options only, in ./hledger.conf, for now.
    simonmichael committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    204df22 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    570a547 View commit details
    Browse the repository at this point in the history
  3. 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.
    simonmichael committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    46cda5e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    07a4b21 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f5c2ec6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4175dc5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e1991be View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3797fe1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6b24c09 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b3e648a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    713c3f4 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    969b5a8 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    3345adb View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    0c9b704 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    6c294e9 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    66f4091 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    361b001 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    d76677c View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    f89e62c View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    6180a16 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    5739bff View commit details
    Browse the repository at this point in the history
  22. 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.
    simonmichael committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    4062066 View commit details
    Browse the repository at this point in the history
  23. ;doc: config files

    simonmichael committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    5c45963 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    9a89adf View commit details
    Browse the repository at this point in the history
  25. ;doc: update help

    simonmichael committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    d9f314d View commit details
    Browse the repository at this point in the history
  26. doc: update manuals

    simonmichael committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    5f285a5 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    b8706de View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    26978ff View commit details
    Browse the repository at this point in the history