diff options
author | Adrián Oliva <adrian.oliva@cimat.mx> | 2023-05-03 19:39:50 -0600 |
---|---|---|
committer | Adrián Oliva <adrian.oliva@cimat.mx> | 2023-05-03 19:39:50 -0600 |
commit | e1bbcabed5f39205f891fd4a03c74113dc801d73 (patch) | |
tree | 05b49612a0a04c26c0e906cf0020225f2ca04c07 /ledger.py | |
parent | 0e3f518fb7bebb5142f1883e913d875094ec3f33 (diff) | |
download | Ledger.py-e1bbcabed5f39205f891fd4a03c74113dc801d73.tar.gz Ledger.py-e1bbcabed5f39205f891fd4a03c74113dc801d73.zip |
Read and test command line arguments.
First try at reading command line arguments. Still needs testing the
command `--sort`.
Diffstat (limited to '')
-rwxr-xr-x | ledger.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ledger.py b/ledger.py new file mode 100755 index 0000000..61eb6a5 --- /dev/null +++ b/ledger.py @@ -0,0 +1,12 @@ +#!/usr/bin/env python3 +from utils.args import get_arguments, test_args + +def main(): + args = get_arguments() + test_args(args) + + print(args) + + +if __name__ == '__main__': + main() |