-
Notifications
You must be signed in to change notification settings - Fork 125
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
Add version command on binary #69
Comments
Should adding more dependencies be avoided or can this https://github.com/amireh/lua_cliargs be used? |
https://github.com/amireh/lua_cliargs looks great. I guess the sailor CLI will grow over time so a library like this could be useful. I don't see any problem with dependencies to mature projects, are you? |
Yes, I agree using cliargs is a good call |
Had a quick look at this but I found a big block, the lua_cliargs version for the latest version busted don't support commands. UPDATE: Opened a Issue there: lunarmodules/busted#498 |
Shameless plug, there is another CLI parsing library that supports commands. Although waiting for release of busted-2.0.rc12 is probably better if you don't want to indirectly depend on two different libraries that do the same thing. |
Nice! Will try it. :)
|
Started a refactor using argparse as suggested by @mpeterv, check the branch https://github.com/sailorproject/sailor/compare/master...xspager:cli_refactor?expand=1 Still need verify if the behavior is similar to the old one and get the messages and more close to what it is right now. @Etiene, can you change the points of this issue and the title to something more generic? :) Feedback welcomed |
start
orserver
command that will run `start-server.lua"The text was updated successfully, but these errors were encountered: