Not quite in the same way, no, but when you run `elm blah` it says:

When you try to run the command `blah` we actually search for an
>   executable named elm-blah. Are you able to run elm-blah?
>   Is it on your PATH?


So you can run `elm blah` as long as there's an executable with that name. 
This is also how elm-new works, it's a simple executable file.

Anyway I think would be pretty good to be able to extend elm by writing 
"tasks" like with mix. 

On Monday, 8 August 2016 15:24:59 UTC+1, OvermindDL1 wrote:
>
> Hmm, is there no way to add new `elm blah` commands like you can with `mix 
> blah`?
>
>
> On Monday, August 8, 2016 at 1:55:27 AM UTC-6, Simone Vittori wrote:
>>
>> Good call Peter, I think it's worth adding a node wrapper, it will 
>> definitely bring more portability.
>> Thanks for the feedback!
>>
>> On Monday, 8 August 2016 08:20:40 UTC+1, Peter Damoc wrote:
>>>
>>> The idea behind it is great but the toolset used brings some unneeded 
>>> complexity. 
>>>
>>> Consider porting it to node. I would much rather do a `npm install -g 
>>> elm-new` than have to deal with make and such. 
>>> Also, it assumes a POSIX system which needlessly rules out the people 
>>> using Windows. 
>>>
>>>
>>> On Mon, Aug 8, 2016 at 10:11 AM, Simone Vittori <
>>> [email protected]> wrote:
>>>
>>>> I recently worked on elm-new, a tool for creating a project scaffolding 
>>>> to get started with Elm more easily and quickly. Please check it out:
>>>>
>>>> https://github.com/simonewebdesign/elm-new
>>>>
>>>> Personally I had the need to do some quick prototyping with Elm, but 
>>>> always having to manually create a Main.elm file with the usual Elm 
>>>> architecture boilerplate was repetitive work.
>>>>
>>>> Initially what I did was just create a generic project I could reuse 
>>>> every time I wanted to build a new prototype. But then I figured it wasn't 
>>>> too hard to automate this workflow, so I made elm-new.
>>>>
>>>> It works very similarly to other tools such as `mix new`, useful for 
>>>> starting a new Elixir project. Also the Clojure community has `lein new` 
>>>> that does the same.
>>>>
>>>> I hope the Elm community will find this tool useful. I'm happy to hear 
>>>> suggestions for making it better.
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Elm Discuss" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>> There is NO FATE, we are the creators.
>>> blog: http://damoc.ro/
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to