update catnab-auto script

This commit is contained in:
jfmonty2 committed 2026-10-27 21:17:49 -04:00
1 parent 72c2ed24a7
commit 296aed566c
1 file changed
+6 -3
+6 -3
View File
@@ -1,14 +1,17 @@
#!/bin/bash
export YNAB_BUDGET_ID='387ce64f-1bdf-4dd1-b3ad-df4838a5bd00'
export YNAB_TOKEN='op://btmile5afss3l7cjv6wizg7lla/You Need A Budget/Personal access token'
# export YNAB_TOKEN='op://Shared/You Need A Budget/Personal access token'
export OPENAI_API_KEY='op://Private/OpenAI/add more/YNAB classification key'
export AMAZON_EMAIL_0='jfmonty2@gmail.com'
export AMAZON_PASSWORD_0='op://Private/Amazon/password'
export AMAZON_EMAIL_1='evelyn.augros@gmail.com'
export AMAZON_PASSWORD_1='op://Private/Amazon - Evelyn/password'
cd ~/code/catnab
op run -- .venv/bin/catnab sync
# this one comes from a different 1Password account, and `op run` can only do one account at a time
export YNAB_TOKEN=$(op read --account my.1password.com 'op://Shared/You Need A Budget/Personal access token')
cd ~/Work/catnab
op run -- .venv/bin/catnab sync $@
op signout