feat: --all flag (#182)

Co-authored-by: Hiroki Osame <hiroki.osame@gmail.com>
This commit is contained in:
Rocktim
2023-04-01 15:49:34 +05:30
committed by GitHub
parent ad2533eb2f
commit ebe83a493e
5 changed files with 55 additions and 5 deletions

View File

@@ -29,6 +29,12 @@ cli(
description: 'Files to exclude from AI analysis',
alias: 'x',
},
all: {
type: Boolean,
description: 'Automatically stage changes in tracked files for the commit',
alias: 'a',
default: false,
},
},
commands: [
@@ -49,6 +55,7 @@ cli(
aicommits(
argv.flags.generate,
argv.flags.exclude,
argv.flags.all,
rawArgv,
);
}