diff --git a/src/exportComments.ts b/src/exportComments.ts index 6de5a6e..405a34b 100644 --- a/src/exportComments.ts +++ b/src/exportComments.ts @@ -10,17 +10,17 @@ * * Options: * --owner, -o Repository owner (required) - * --repo, -r Repository name (required) + * --repos, -r Repositories to search into (required) * --author, -a Author of the comments to filter with (optional -- likely the AI bot author name) * --since, -s Filter comments since the given date (YYYY-MM-DD) (required) * --until, -u Filter comments until the given date (YYYY-MM-DD) (optional, defaults to current date) * --token, -t GitHub personal access token (can also be set via the GITHUB_TOKEN environment variable or `.env` file) * It is recommended to use the environment variable to avoid exposing sensitive information. * - * Example: - * npx ts-node exportComments.ts --owner cds-snc --repo cds-ai-codereviewer --prs 6,7,8 --author github-actions[bot] + * Examples: + * npx ts-node exportComments.ts --owner cds-snc --repos cds-ai-codereviewer --author 'github-actions[bot]' --since 2024-12-01 * - * npx ts-node src/exportComments.ts --owner cds-snc --repo notification-terraform --since 2024-12-01 --author 'github-actions[bot]' --until 2024-12-31 + * npx ts-node src/exportComments.ts --owner cds-snc --repos notification-terraform notification-api --author 'github-actions[bot]' --since 2024-12-01 --until 2024-12-31 * * Environment Variable: * GITHUB_TOKEN GitHub personal access token (recommended to use this instead of --token argument)