Comparing version 2.2.9 to 2.3.0
@@ -37,7 +37,9 @@ /* | ||
execSync( | ||
` | ||
`gh repo create 07-media-sor/${name} --private -y && | ||
echo "# 07_test-repo-best" >> README.md | ||
git init && git add . | ||
git commit -m "first commit" | ||
gh repo create 07-media-sor/${name} --private -y`, | ||
git remote add origin https://github.com/07-media-sor/${name}.git | ||
git push -u origin main | ||
`, | ||
{ | ||
@@ -47,22 +49,2 @@ stdio: "inherit", | ||
); | ||
if ( | ||
[ | ||
execSync(`uname`, { | ||
stdio: "inherit", | ||
}) == "Darwin", | ||
] | ||
) { | ||
execSync( | ||
` | ||
git remote add origin https://github.com/07-media-sor/${name}.git | ||
git push -u origin main`, | ||
{ | ||
stdio: "inherit", | ||
} | ||
); | ||
} else { | ||
execSync(`git push -u origin main`, { | ||
stdio: "inherit", | ||
}); | ||
} | ||
} else { | ||
@@ -69,0 +51,0 @@ rl.close("failure"); |
{ | ||
"name": "07-cli", | ||
"version": "2.2.9", | ||
"version": "2.3.0", | ||
"description": "A command line tool for 07 organization", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61658
493