From 17170bb6ebc6e6bf102a780fb3fbbd617aa24ecf Mon Sep 17 00:00:00 2001 From: rasmus-kirk Date: Wed, 3 Jan 2024 23:55:20 +0100 Subject: [PATCH] feat: add config file flag Adds a config file flag to load in config parameters from a JSON file. --- config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.ts b/config.ts index 9910a234b..c4c2329ba 100644 --- a/config.ts +++ b/config.ts @@ -194,6 +194,8 @@ const {argv: argvObj} = yargs(process.argv.slice(2)) hidden: true, type: 'boolean', }) + .config() + .alias('c', 'config') .version(version) .alias('v', 'version') .help();