Description
Problem description
New users may feel lost after installing the CLI for first time. It would be great to guide them through the "happy path". This should be unobtrusive to allow the experienced users to ignore the additional messages.
Proposed work flow
I propose key CLI commands to have additional messages which guide the user to the next most likely command. The actual messages must be reviewed and agreed on.
On installation
Add message:
To create a new NativeScript project, use
tns create name-of-project
. To get started with NativeScript CLI, usetns help
.
On tns create
Add message:
To continue with your project,
cd ${project-dir}
. Usetns run ios
ortns run android
to build and start your project on connected devices or emulators. To get started with NativeScript CLI, usetns help
.
We can expand the work flow in the future but I think these steps are a good start.