From 92398c85d63bf82affac0a09054e250b952ccafa Mon Sep 17 00:00:00 2001 From: Todor Totev Date: Fri, 19 Feb 2016 16:36:56 +0200 Subject: [PATCH] Include "Extending the CLI" in the readme --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 8a1a389e9f..c7b99905b7 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ The NativeScript CLI lets you create, build, and deploy NativeScript-based proje * [Deploy Your Project](#deploy-your-project) * [Emulate Your Project](#emulate-your-project) * [Run Your Project](#run-your-project) +* [Extending the CLI](#extending-the-cli) * [Troubleshooting](#troubleshooting) * [Known Issues](#known-issues) * [How to Contribute](#how-to-contribute) @@ -504,6 +505,17 @@ tns run ios --emulator [Back to Top][1] +Extending the CLI +=== + +The NativeScript CLI lets you extend its behavior and customize it to fit your needs by using [hooks](https://en.wikipedia.org/wiki/Hooking). + +When you run one of the extendable commands (for example, `tns build`), the CLI checks for hooks and executes them. Plugins can also use hooks to control the compilation of the application package. + +For more information, see the [Extending the CLI document](https://github.com/NativeScript/nativescript-cli/blob/production/extending-cli.md) + +[Back to Top][1] + Troubleshooting ===