Coder Social home page Coder Social logo

ember new about ember-cli HOT 11 CLOSED

ember-cli avatar ember-cli commented on May 19, 2024
ember new

from ember-cli.

Comments (11)

knownasilya avatar knownasilya commented on May 19, 2024

With all init options available?

ember new folderName [app-name] [--skip-npm-install]

Where app-name defaults to folder name, but Pascal Cased? Should --dry-run be included, doesn't seem to make sense in this context.

from ember-cli.

stefanpenner avatar stefanpenner commented on May 19, 2024

ya, no dry-run

app-name dasherized as well I think

from ember-cli.

knownasilya avatar knownasilya commented on May 19, 2024

So something like: ember new folderName [--app-name] [--skip-npm-install]

from ember-cli.

stefanpenner avatar stefanpenner commented on May 19, 2024

just ember new <app-name> i think the folder name being different then the app is so uncommon, people can just rename after.

from ember-cli.

knownasilya avatar knownasilya commented on May 19, 2024

I disagree, and if that was my only option, I'd do ember new App every time, and then rename the folder:

ember new App
mv App/ my-blog/

So now virtually the shortcut of the new command has become a 'longcut' ๐Ÿ˜‰

from ember-cli.

stefanpenner avatar stefanpenner commented on May 19, 2024

@knownasilya although that may be your path, I do not feel that is the common scenario.

I am quite nervous adding many flags and options to handle every possible permutation.

from ember-cli.

marcioj avatar marcioj commented on May 19, 2024

@stefanpenner I guess we can close that issue

from ember-cli.

Blackshawk avatar Blackshawk commented on May 19, 2024

@stefanpenner Auto-dasherizing the folder name does seem a bit odd. I ran bin/ember new TestApp today in my projects folder (which has ~ 200 folders in it). It took me a minute to realize what had happened and that the created directory was test-app.

I think dasherizing the app name in package.json, app.js, for module prefixes, etc. is great. But the root directory? My 2ยข is that it will confuse more than it helps.

from ember-cli.

stefanpenner avatar stefanpenner commented on May 19, 2024

@Blackshawk ya, I agree. Will accept PR + test :)

from ember-cli.

Blackshawk avatar Blackshawk commented on May 19, 2024

@stefanpenner Will oblige when I get back home. Its late. :) Good talk today, btw.

from ember-cli.

MajorBreakfast avatar MajorBreakfast commented on May 19, 2024

I for one am not opposed to not dasherizing the folder name. Only the package name is a must. But I think you agree with me on that. Let's see what the others think.

from ember-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.