Skip to content

Commit 14aa004

Browse files
committed
fix: show link to docs after postclone finished
to make it more usable when using the tns plugin create command
1 parent f234f9d commit 14aa004

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/scripts/postclone.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function askGithubUsername() {
5656
prompt.start();
5757
prompt.get({
5858
name: 'github_username',
59-
description: 'What is your GitHub username (used for updating package.json)? Example: NathanWalker / EddyVerbruggen'
59+
description: 'What is your GitHub username (used for updating package.json)? Example: NathanWalker'
6060
}, function (err, result) {
6161
if (err) {
6262
return console.log(err);
@@ -97,7 +97,7 @@ function askPluginName() {
9797
}
9898

9999
function generateClassName() {
100-
// the classname becomes 'GoogleMaps' when plugin_name is 'google_maps'
100+
// the class name becomes 'GoogleMaps' when plugin_name is 'google_maps'
101101
class_name = "";
102102
var plugin_name_parts = inputParams.plugin_name.split("-");
103103
for (var p in plugin_name_parts) {
@@ -229,8 +229,9 @@ function initGit() {
229229
}
230230

231231
function finishSetup() {
232-
console.log("Configuration finished! If you're not happy with the result please clone the seed again and rerun this script.");
233-
console.log("You can now continue by running 'npm run plugin.tscwatch' in this window and in another one - 'npm run demo.ios' or 'npm run demo.android'!");
234-
232+
console.log("Configuration finished! If you're not happy with the result please clone the seed again and start over.");
233+
console.log("Visit the NativeScript documentation for detailed steps on how to proceed from here.");
234+
console.log("https://docs.nativescript.org/plugins/building-plugins#step-2-set-up-a-development-workflow");
235+
235236
process.exit();
236237
}

0 commit comments

Comments
 (0)