chiefwiggum 1.3.43 → 1.3.45
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.
- package/dist/cli.cjs +8 -4
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -1073,9 +1073,13 @@ async function setupProjectConfig() {
|
|
|
1073
1073
|
console.log("Run this command to log in:");
|
|
1074
1074
|
console.log(import_picocolors7.default.cyan(" gh auth login"));
|
|
1075
1075
|
} else if (ghCheck.reason === "not_github_repo") {
|
|
1076
|
-
console.log(import_picocolors7.default.yellow("
|
|
1076
|
+
console.log(import_picocolors7.default.yellow("Not in a GitHub repository."));
|
|
1077
1077
|
console.log();
|
|
1078
|
-
console.log("
|
|
1078
|
+
console.log("Run chiefwiggum from inside a project directory:");
|
|
1079
|
+
console.log(import_picocolors7.default.cyan(" cd your-project && chiefwiggum new"));
|
|
1080
|
+
console.log();
|
|
1081
|
+
console.log("Or create a new repo here:");
|
|
1082
|
+
console.log(import_picocolors7.default.cyan(" gh repo create"));
|
|
1079
1083
|
}
|
|
1080
1084
|
console.log();
|
|
1081
1085
|
let exitHint = "Then run chiefwiggum new again";
|
|
@@ -1087,8 +1091,8 @@ async function setupProjectConfig() {
|
|
|
1087
1091
|
exitHint = "gh auth login";
|
|
1088
1092
|
exitCommand = "gh auth login";
|
|
1089
1093
|
} else if (ghCheck.reason === "not_github_repo") {
|
|
1090
|
-
exitHint = "
|
|
1091
|
-
exitCommand = "
|
|
1094
|
+
exitHint = "cd your-project && chiefwiggum new";
|
|
1095
|
+
exitCommand = "cd your-project && chiefwiggum new";
|
|
1092
1096
|
}
|
|
1093
1097
|
const fallback = await select2({
|
|
1094
1098
|
message: "What would you like to do?",
|