edsger 0.67.0 → 0.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CLI command: `edsger sync-org-repos <teamId>`
|
|
3
3
|
*
|
|
4
|
-
* Reads the team's configured github_org
|
|
5
|
-
* via the
|
|
4
|
+
* Reads the team's configured github_org and fetches all repos from that org
|
|
5
|
+
* server-side (via the Edsger GitHub App, falling back to the user's personal
|
|
6
|
+
* GitHub token), then upserts a repositories row for each repo.
|
|
6
7
|
*/
|
|
7
8
|
export interface SyncOrgReposCliOptions {
|
|
8
9
|
verbose?: boolean;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CLI command: `edsger sync-org-repos <teamId>`
|
|
3
3
|
*
|
|
4
|
-
* Reads the team's configured github_org
|
|
5
|
-
* via the
|
|
4
|
+
* Reads the team's configured github_org and fetches all repos from that org
|
|
5
|
+
* server-side (via the Edsger GitHub App, falling back to the user's personal
|
|
6
|
+
* GitHub token), then upserts a repositories row for each repo.
|
|
6
7
|
*/
|
|
7
8
|
import { syncOrgRepos } from '../../phases/sync-org-repos/index.js';
|
|
8
9
|
import { getSupabase, hasSupabaseSession } from '../../supabase/client.js';
|
package/dist/index.js
CHANGED
|
@@ -687,7 +687,7 @@ program
|
|
|
687
687
|
// ============================================================
|
|
688
688
|
program
|
|
689
689
|
.command('sync-org-repos <teamId>')
|
|
690
|
-
.description("Sync a GitHub org's repos
|
|
690
|
+
.description("Sync a GitHub org's repos under a team via the Edsger GitHub App, falling back to your personal GitHub token.")
|
|
691
691
|
.option('-v, --verbose', 'Verbose output')
|
|
692
692
|
.option('--org <name>', "GitHub org name (defaults to the team's configured github_org)")
|
|
693
693
|
.action(async (teamId, opts) => {
|