Add presentation guidelines, privacy section, and env-configurable config path
- SKILL.md: Add Presentation Guidelines and Privacy sections for consistent financial data presentation - actual-query.mjs: Support ACTUAL_BUDGET_CONFIG_DIR env var to override default ~/.config/actual-budget/ path, enabling use in containers where that path isn't persisted
This commit is contained in:
@@ -13,7 +13,8 @@ function output(data) {
|
||||
_origLog(JSON.stringify(data, null, 2));
|
||||
}
|
||||
|
||||
const CONFIG_DIR = path.join(process.env.HOME, '.config', 'actual-budget');
|
||||
const CONFIG_DIR = process.env.ACTUAL_BUDGET_CONFIG_DIR
|
||||
|| path.join(process.env.HOME, '.config', 'actual-budget');
|
||||
const CONFIG_FILE = path.join(CONFIG_DIR, 'config');
|
||||
const PASSWORD_FILE = path.join(CONFIG_DIR, 'password');
|
||||
const DATA_DIR = path.join(CONFIG_DIR, 'data');
|
||||
|
||||
Reference in New Issue
Block a user