@snapcommit/cli 3.8.10 → 3.8.11
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.
|
@@ -609,7 +609,7 @@ async function executeGitCommands(commands) {
|
|
|
609
609
|
async function executeGitHubCommand(intent) {
|
|
610
610
|
if (!(0, github_connect_1.isGitHubConnected)()) {
|
|
611
611
|
console.log(chalk_1.default.yellow('\n⚠️ GitHub not connected'));
|
|
612
|
-
console.log(chalk_1.default.gray(' Run: ') + chalk_1.default.cyan('
|
|
612
|
+
console.log(chalk_1.default.gray(' Run: ') + chalk_1.default.cyan('github connect') + chalk_1.default.gray(' (you\'re already in snap!)\n'));
|
|
613
613
|
return;
|
|
614
614
|
}
|
|
615
615
|
try {
|
package/dist/lib/auth.js
CHANGED
|
@@ -140,7 +140,7 @@ async function promptAuth() {
|
|
|
140
140
|
console.log(chalk_1.default.yellow('━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n'));
|
|
141
141
|
console.log(chalk_1.default.bold('💡 Want GitHub features too?\n'));
|
|
142
142
|
console.log(chalk_1.default.gray(' Create PRs, check CI, and more with natural language!'));
|
|
143
|
-
console.log(chalk_1.default.gray(' Run: ') + chalk_1.default.cyan('
|
|
143
|
+
console.log(chalk_1.default.gray(' Run: ') + chalk_1.default.cyan('github connect') + chalk_1.default.gray(' (inside snap)'));
|
|
144
144
|
console.log(chalk_1.default.gray(' (You\'ll need a GitHub Personal Access Token - Classic)\n'));
|
|
145
145
|
console.log(chalk_1.default.gray(' Get one at: ') + chalk_1.default.cyan('https://github.com/settings/tokens'));
|
|
146
146
|
console.log(chalk_1.default.gray(' Scopes needed: ') + chalk_1.default.white('repo, workflow, read:user'));
|