feat(cli): --exclude flag for ignoring files (#162)
Co-authored-by: Hiroki Osame <hiroki.osame@gmail.com>
This commit is contained in:
@@ -21,9 +21,14 @@ cli(
|
||||
flags: {
|
||||
generate: {
|
||||
type: Number,
|
||||
description: 'Number of messages to generate. (Warning: generating multiple costs more) (default: 1)',
|
||||
description: 'Number of messages to generate (Warning: generating multiple costs more) (default: 1)',
|
||||
alias: 'g',
|
||||
},
|
||||
exclude: {
|
||||
type: [String],
|
||||
description: 'Files to exclude from AI analysis',
|
||||
alias: 'x',
|
||||
},
|
||||
},
|
||||
|
||||
commands: [
|
||||
@@ -43,6 +48,7 @@ cli(
|
||||
} else {
|
||||
aicommits(
|
||||
argv.flags.generate,
|
||||
argv.flags.exclude,
|
||||
rawArgv,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user