MCPcopy Create free account
hub / github.com/SethGammon/Citadel / createGitHubRepo

Function createGitHubRepo

scripts/live-github-steward-proof.js:171–174  ·  view source on GitHub ↗
(workDir, owner, repoName, visibility)

Source from the content-addressed store, hash-verified

169}
170
171function createGitHubRepo(workDir, owner, repoName, visibility) {
172 gh(['repo', 'create', `${owner}/${repoName}`, `--${visibility}`, '--source', workDir, '--remote', 'origin', '--push'], { cwd: workDir });
173 return `https://github.com/${owner}/${repoName}`;
174}
175
176function protectMain(owner, repoName) {
177 const protection = {

Callers 1

mainFunction · 0.85

Calls 1

ghFunction · 0.85

Tested by

no test coverage detected