From 17aa9b4cbd3a9c972ccaecc9cbfb9838c90c0ff8 Mon Sep 17 00:00:00 2001 From: Boaz Poolman Date: Wed, 10 Nov 2021 16:48:17 +0100 Subject: [PATCH] feat: Add aliases for CLI --- server/cli.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/cli.js b/server/cli.js index be118f3..bc30020 100644 --- a/server/cli.js +++ b/server/cli.js @@ -140,6 +140,7 @@ program // `$ config-sync import` program .command('import') + .alias('i') // .option('-t, --type ', 'The type of config') // TODO: partial import .option('-y', 'Skip the confirm prompt') .description('Import the config') @@ -150,6 +151,7 @@ program // `$ config-sync export` program .command('export') + .alias('e') // .option('-t, --type ', 'The type of config') // TODO: partial export .option('-y', 'Skip the confirm prompt') .description('Export the config') @@ -160,6 +162,7 @@ program // `$ config-sync diff` program .command('diff') + .alias('d') // .option('-t, --type ', 'The type of config') // TODO: partial diff .description('The config diff') .action(async ({ type }) => {