ProductPromotion
Logo

Elm

made by https://0x3d.site

GitHub - simonewebdesign/elm-new: ๐Ÿ’พ Generate a new Elm project from the command line (Elm 0.16+)
๐Ÿ’พ Generate a new Elm project from the command line (Elm 0.16+) - simonewebdesign/elm-new
Visit Site

GitHub - simonewebdesign/elm-new: ๐Ÿ’พ Generate a new Elm project from the command line (Elm 0.16+)

GitHub - simonewebdesign/elm-new: ๐Ÿ’พ Generate a new Elm project from the command line (Elm 0.16+)

elm-new

Build Status Build Status

Clojure has lein new, Elixir has mix new and now Elm has elm new!

With elm new you can easily start a new Elm project from the command line.

The idea is to be able to start coding right away instead of wasting time setting up the initial Elm architecture boilerplate. This is especially useful if you do a lot of prototyping.

Features

  • No dependencies โ€” all you need is a shell (like bash, zsh, fish, etc.)
  • Very simple to install and use. Auto-completion included.
  • 100% test covered. It just works!

Simply choose between:

  • sandbox โ€” good for learning about the Elm Architecture
  • element โ€” an Elm application embedded in an HTML element
  • document โ€” an application that has control over the full HTML document
  • application โ€” a single-page app

Usage

elm-new                        # Initialize a Browser.document in the current directory
elm-new my-project             # Initialize a Browser.document in my-project/
elm-new my-project --beginner  # Initialize a Browser.sandbox in my-project/
elm-new my-spa --navigation    # Initialize a Browser.application in my-spa/
elm-new hello --hello-world    # Initialize a "Hello, world!" program in hello/
elm-new --version              # Prints the installed version
elm-new --help                 # Prints all possible commands

Example

$ elm-new my-awesome-project

my-awesome-project
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ elm.json
โ””โ”€โ”€ src
    โ””โ”€โ”€ Main.elm

1 directory, 4 files

Your Elm program has been created successfully.
You can use "elm make" to compile it:

    cd my-awesome-project
    elm make src/Main.elm

Run "elm" for more commands.

Installation

Linux, Mac OS X and Windows are supported.

npm

npm install -g elm-new

yarn

yarn global add elm-new

Chocolatey

choco install elm-new

Homebrew

brew install simonewebdesign/tap/elm-new

Git

git clone https://github.com/simonewebdesign/elm-new
cd elm-new && sudo make install

See here for other installation options.


Support for older Elm versions

Older versions of Elm are also supported:

  • Elm 0.19 => elm-new v2.0.0+
  • Elm 0.18 => elm-new v1.3.0
  • Elm 0.17 => elm-new v1.1.3
  • Elm 0.16 => elm-new v0.1.0

So, for example, if you're using Elm 0.18, you'll want to grab elm-new v1.3.0. You can either install it via brew or npm, or download it straight from the releases page.

The choices also differ depending on the Elm version. For example, for Elm 0.18 you could choose between:


Contributing

Contributors are welcome! Just fork this repo and start hacking away.

Make sure to check out CONTRIBUTING.md to get started.

More Resources
to explore the angular.

mail [email protected] to add your project or resources here ๐Ÿ”ฅ.

Related Articles
to learn about angular.

FAQ's
to learn more about Angular JS.

mail [email protected] to add more queries here ๐Ÿ”.

More Sites
to check out once you're finished browsing here.

0x3d
https://www.0x3d.site/
0x3d is designed for aggregating information.
NodeJS
https://nodejs.0x3d.site/
NodeJS Online Directory
Cross Platform
https://cross-platform.0x3d.site/
Cross Platform Online Directory
Open Source
https://open-source.0x3d.site/
Open Source Online Directory
Analytics
https://analytics.0x3d.site/
Analytics Online Directory
JavaScript
https://javascript.0x3d.site/
JavaScript Online Directory
GoLang
https://golang.0x3d.site/
GoLang Online Directory
Python
https://python.0x3d.site/
Python Online Directory
Swift
https://swift.0x3d.site/
Swift Online Directory
Rust
https://rust.0x3d.site/
Rust Online Directory
Scala
https://scala.0x3d.site/
Scala Online Directory
Ruby
https://ruby.0x3d.site/
Ruby Online Directory
Clojure
https://clojure.0x3d.site/
Clojure Online Directory
Elixir
https://elixir.0x3d.site/
Elixir Online Directory
Elm
https://elm.0x3d.site/
Elm Online Directory
Lua
https://lua.0x3d.site/
Lua Online Directory
C Programming
https://c-programming.0x3d.site/
C Programming Online Directory
C++ Programming
https://cpp-programming.0x3d.site/
C++ Programming Online Directory
R Programming
https://r-programming.0x3d.site/
R Programming Online Directory
Perl
https://perl.0x3d.site/
Perl Online Directory
Java
https://java.0x3d.site/
Java Online Directory
Kotlin
https://kotlin.0x3d.site/
Kotlin Online Directory
PHP
https://php.0x3d.site/
PHP Online Directory
React JS
https://react.0x3d.site/
React JS Online Directory
Angular
https://angular.0x3d.site/
Angular JS Online Directory