You will probably also want ArgParse: https://github.com/carlobaldassi/ArgParse.jl
On Sun, Apr 19, 2015 at 6:20 AM, Jiyin Yiyong <[email protected]> wrote: > Yes that's true. I was a npm user, and a Go user, both of them provides > solution for creating command line tools. It doesn't mater if I have to > create files by my own(just a few for steps). But I want to known how the > community handles this problem. If I want to publish a package with a > command line, is there a better solution? > > On Sunday, April 19, 2015 at 7:51:20 AM UTC+8, Jameson wrote: >> >> this isn't really a julia question, but just a general unix question. >> putting a shebang[1] at the top of any file will turn that file into a >> command line tool. >> >> [1] http://en.wikipedia.org/wiki/Shebang_(Unix) >> >> On Sat, Apr 18, 2015 at 3:10 PM Patrick Kofod Mogensen < >> [email protected]> wrote: >> >>> I might be wrong, but I think Jiyin wants to make program binaries out >>> from Julia code. Julia is probably not the right choice for this (right >>> now). >>> >>> >>> On Saturday, April 18, 2015 at 8:07:02 PM UTC+2, Mauro wrote: >>> >>>> Did you see this: >>>> http://docs.julialang.org/en/latest/manual/running-external-programs/ >>>> >>>> On Sat, 2015-04-18 at 10:01, Jiyin Yiyong <[email protected]> wrote: >>>> > I want to create a command line tool by create a Julia module. But >>>> it's not >>>> > mentioned in the docs? Is there a quick solution for that? >>>> >>>>
