Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set the app name? #1682

Closed
RonAlmog opened this issue Mar 4, 2016 · 4 comments
Closed

How to set the app name? #1682

RonAlmog opened this issue Mar 4, 2016 · 4 comments
Labels

Comments

@RonAlmog
Copy link

RonAlmog commented Mar 4, 2016

when creating a new app with the generator, it uses the folder name for the application name, and not the param.
here is what i tried:

  • yo angular-fullstack app
  • yo angular-fullstack 'app'
  • yo angular-fullstack [app]
  • yo angular-fullstack:app app

no luck. in all cases it ignores the param and uses the folder name. any advice?

@taotau
Copy link

taotau commented Mar 4, 2016

The last one, as per instructions

Usage:
yo angular-fullstack:app [options] [name]

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
--app-suffix # Allow a custom suffix to be added to the module name Default: App

Arguments:
name Type: String Required: false

@RonAlmog
Copy link
Author

RonAlmog commented Mar 4, 2016

example of usage?
custom suffix: nothing.
app name: app

thanks

@RonAlmog
Copy link
Author

RonAlmog commented Mar 5, 2016

looks like a bug to me. no matter what you do, it takes the folder name, and adds the suffix (App).
if you know any way to give the app any specific name without a suffix, please let me know.

@Awk34
Copy link
Member

Awk34 commented Mar 10, 2016

should be fixed in next patch

@Awk34 Awk34 removed the investigate label Mar 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants