Created
April 11, 2020 16:54
-
-
Save soulim/19e9379ebb8f4c33489f82cba6b8c788 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env fish | |
# bin/import: Import transactions via Actual API. | |
# | |
# Example: | |
# | |
# >_ bin/import --budget=My-Finances-7667d56 \ | |
# --account=Checking \ | |
# data/Checking-*.json | |
# TODO: Add --help option | |
argparse 'b/budget=' 'a/account=' -- $argv | |
for pathname in $argv | |
./import/bin/import $_flag_budget $_flag_account (realpath $pathname) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment