Creating Magic with the CLI

See the original posting on DZone Python

With the release of NativeScript 5.0, several new goodies were added to the CLI. We learned previously about the tns preview command; in this article, I’ll talk about another cool command,  tns create . With this new CLI functionality, you can scaffold apps using one of five templates ready-made for you. Your favorite CLI is now that much more interactive! Let’s see what we can do with this.

To get an idea of the options available for you, assuming you have the NativeScript CLI installed and functional, type tns create --help in the terminal. You’ll be offered a smorgasbord of options: