From 7b2382367224f6da714d44c6214532cce08854d8 Mon Sep 17 00:00:00 2001 From: aniknafs Date: Tue, 25 Oct 2016 12:05:17 -0700 Subject: [PATCH 1/2] docs(generators): update docs add missing lines (e.g. module name question) --- docs/generators/app.md | 1 + docs/generators/component.md | 1 + docs/generators/controller.md | 1 + docs/generators/decorator.md | 1 + docs/generators/directive.md | 2 ++ docs/generators/endpoint.md | 3 ++- docs/generators/filter.md | 1 + docs/generators/route.md | 2 +- docs/generators/service.md | 1 + 9 files changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/generators/app.md b/docs/generators/app.md index 62cc55ed2..f1e2f2159 100644 --- a/docs/generators/app.md +++ b/docs/generators/app.md @@ -11,6 +11,7 @@ Options: -h, --help # Print the generator's options and usage --skip-cache # Do not remember prompt answers Default: false --skip-install # Do not install dependencies Default: false + --skip-config # Always use existing .yo-rc.json Default: false --app-suffix # Allow a custom suffix to be added to the module name Default: App --dev-port # Port to use for the development HTTP server Default: 9000 --debug-port # Port to use for the server debugger Default: 5858 diff --git a/docs/generators/component.md b/docs/generators/component.md index 5c26a45b3..3f432586c 100644 --- a/docs/generators/component.md +++ b/docs/generators/component.md @@ -4,6 +4,7 @@ Generates an Angular 1.5 component. Example: ```bash yo angular-fullstack:component name +[?] What module name would you like to use? myApp.name [?] Where would you like to create this component? client/app/ ``` diff --git a/docs/generators/controller.md b/docs/generators/controller.md index 9056821ed..54d6ef9f4 100644 --- a/docs/generators/controller.md +++ b/docs/generators/controller.md @@ -4,6 +4,7 @@ Generates a controller. Example: ```bash yo angular-fullstack:controller user +[?] What module name would you like to use? myApp.user [?] Where would you like to create this controller? client/app/ ``` diff --git a/docs/generators/decorator.md b/docs/generators/decorator.md index 2f1b3dc03..7410f2b55 100644 --- a/docs/generators/decorator.md +++ b/docs/generators/decorator.md @@ -4,6 +4,7 @@ Generates an AngularJS service decorator. Example: ```bash yo angular-fullstack:decorator serviceName +[?] What module name would you like to use? myApp.serviceName [?] Where would you like to create this decorator? client/app/ ``` diff --git a/docs/generators/directive.md b/docs/generators/directive.md index 4961e44d1..90ffe6331 100644 --- a/docs/generators/directive.md +++ b/docs/generators/directive.md @@ -4,6 +4,7 @@ Generates a directive. Example: ```bash yo angular-fullstack:directive myDirective +[?] What module name would you like to use? myApp.myDirective [?] Where would you like to create this directive? client/app/ [?] Does this directive need an external html file? Yes ``` @@ -20,6 +21,7 @@ Produces: Example: ```bash yo angular-fullstack:directive simple +[?] What module name would you like to use? myApp.simple [?] Where would you like to create this directive? client/app/ [?] Does this directive need an external html file? No ``` diff --git a/docs/generators/endpoint.md b/docs/generators/endpoint.md index 2073d56e9..5f630a98e 100644 --- a/docs/generators/endpoint.md +++ b/docs/generators/endpoint.md @@ -8,7 +8,8 @@ Usage: Options: -h, --help # Print the generator's options and usage - --skip-cache # Do not remember prompt answers Default: false + --skip-cache # Do not remember prompt answers Default: false + --skip-install # Do not automatically install dependencies Default: false --route # URL for the endpoint --models # Specify which model(s) to use Options: mongoose, sequelize --endpointDirectory # Parent directory for enpoints diff --git a/docs/generators/filter.md b/docs/generators/filter.md index adc1d6202..078a152e9 100644 --- a/docs/generators/filter.md +++ b/docs/generators/filter.md @@ -4,6 +4,7 @@ Generates a filter. Example: ```bash yo angular-fullstack:filter myFilter +[?] What module name would you like to use? myApp.myFilter [?] Where would you like to create this filter? client/app/ ``` diff --git a/docs/generators/route.md b/docs/generators/route.md index 10843cd3a..682542eef 100644 --- a/docs/generators/route.md +++ b/docs/generators/route.md @@ -4,7 +4,7 @@ Generates a new route. Example: ```bash yo angular-fullstack:route myroute -[?] What module name would you like to use? myApp +[?] What module name would you like to use? myApp.myroute [?] Where would you like to create this route? client/app/ [?] What will the url of your route be? /myroute ``` diff --git a/docs/generators/service.md b/docs/generators/service.md index 4bad4093c..4d79f88c5 100644 --- a/docs/generators/service.md +++ b/docs/generators/service.md @@ -4,6 +4,7 @@ Generates an AngularJS service. Example: ```bash yo angular-fullstack:service myService +[?] What module name would you like to use? myApp.myService [?] Where would you like to create this service? client/app/ ``` From 7b60bd487529385614ceba8d1ff3eb0c556c3089 Mon Sep 17 00:00:00 2001 From: aniknafs Date: Tue, 25 Oct 2016 13:20:57 -0700 Subject: [PATCH 2/2] docs(generators): remove --skip-install from endpoint generator --- docs/generators/endpoint.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/generators/endpoint.md b/docs/generators/endpoint.md index 5f630a98e..ceff3bf07 100644 --- a/docs/generators/endpoint.md +++ b/docs/generators/endpoint.md @@ -9,7 +9,6 @@ Usage: Options: -h, --help # Print the generator's options and usage --skip-cache # Do not remember prompt answers Default: false - --skip-install # Do not automatically install dependencies Default: false --route # URL for the endpoint --models # Specify which model(s) to use Options: mongoose, sequelize --endpointDirectory # Parent directory for enpoints