ledger-tool: Switch subcommand dispatch from if-else to match (#34644)

A future change will add more cases to this if-else if-...-else chain.
Using a match statement will be easier to follow then a very long
if-else if-... chain.

This change was broken out in order to have a higher signal to noise
ratio in the subsequent change.
This commit is contained in:
steviez 2024-01-03 21:53:27 -06:00 committed by GitHub
parent 917e242e7f
commit 744c2cbe04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1729 additions and 1641 deletions

File diff suppressed because it is too large Load Diff