Skip to content

Commit 92398c8

Browse files
committed
Include "Extending the CLI" in the readme
1 parent 86bffb6 commit 92398c8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ The NativeScript CLI lets you create, build, and deploy NativeScript-based proje
2222
* [Deploy Your Project](#deploy-your-project)
2323
* [Emulate Your Project](#emulate-your-project)
2424
* [Run Your Project](#run-your-project)
25+
* [Extending the CLI](#extending-the-cli)
2526
* [Troubleshooting](#troubleshooting)
2627
* [Known Issues](#known-issues)
2728
* [How to Contribute](#how-to-contribute)
@@ -504,6 +505,17 @@ tns run ios --emulator
504505

505506
[Back to Top][1]
506507

508+
Extending the CLI
509+
===
510+
511+
The NativeScript CLI lets you extend its behavior and customize it to fit your needs by using [hooks](https://en.wikipedia.org/wiki/Hooking).
512+
513+
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.
514+
515+
For more information, see the [Extending the CLI document](https://github.com/NativeScript/nativescript-cli/blob/production/extending-cli.md)
516+
517+
[Back to Top][1]
518+
507519
Troubleshooting
508520
===
509521

0 commit comments

Comments
 (0)