Skip to content

Commit 8b0d496

Browse files
Merge pull request NativeScript#4990 from NativeScript/vladimirov/update-postinstall-msgs
fix: update messages on postinstall
2 parents f2bffae + 9b015ac commit 8b0d496

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

lib/commands/post-install.ts

+5-16
Original file line numberDiff line numberDiff line change
@@ -37,31 +37,20 @@ export class PostInstallCliCommand implements ICommand {
3737
await this.$commandsService.tryExecuteCommand("autocomplete", []);
3838
}
3939

40-
// Make sure the success message is separated with at least one line from all other messages.
41-
this.$logger.info();
42-
this.$logger.printMarkdown("Installation successful. You are good to go. Connect with us on `http://twitter.com/NativeScript`.");
43-
4440
if (canExecutePostInstallTask) {
4541
await this.$subscriptionService.subscribeForNewsletter();
4642
}
4743
}
4844

4945
public async postCommandAction(args: string[]): Promise<void> {
50-
this.$logger.info("You have successfully installed the NativeScript CLI!");
51-
this.$logger.info("To create a new project, you use:".green);
52-
this.$logger.printMarkdown("`tns create <app name>`");
53-
this.$logger.info("To build your project locally you use:".green);
54-
this.$logger.printMarkdown("`tns build <platform>`");
55-
this.$logger.printMarkdown("NOTE: Local builds require additional setup of your environment. You can find more information here: `https://docs.nativescript.org/start/quick-setup`");
56-
57-
// Add a new line just to ensure separation between local builds and cloud builds info.
5846
this.$logger.info("");
59-
this.$logger.info("To build your project in the cloud you can use:".green);
60-
this.$logger.printMarkdown("`tns cloud build <platform>`");
61-
this.$logger.printMarkdown("NOTE: Cloud builds require Telerik account. You can find more information here: `https://docs.nativescript.org/sidekick/intro/requirements`");
47+
this.$logger.info("You have successfully installed the NativeScript CLI!".green.bold);
48+
this.$logger.info("");
49+
this.$logger.info("Your next step is to create a new project:");
50+
this.$logger.info("tns create".green.bold);
6251

6352
this.$logger.info("");
64-
this.$logger.printMarkdown("If you want to experiment with NativeScript in your browser, try the Playground: `https://play.nativescript.org`");
53+
this.$logger.printMarkdown("New to NativeScript?".bold + " Try the tutorials in NativeScript Playground: `https://play.nativescript.org`");
6554

6655
this.$logger.info("");
6756
this.$logger.printMarkdown("If you have any questions, check Stack Overflow: `https://stackoverflow.com/questions/tagged/nativescript` and our public Slack channel: `https://nativescriptcommunity.slack.com/`");

0 commit comments

Comments
 (0)