Git Product home page Git Product logo

commander's People

Contributors

chrisledet avatar diasbruno avatar larzconwell avatar stephenmathieson avatar tj avatar wilmoore avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

commander's Issues

Omitting the short version of an option.

Hi,

If an user want to omit the short version of a option (defining as empty string),
the help ended up with a , at the beginning of the option's line.

-q, --quiet                   disable verbose output
, --manifest <filename>     give a manifest of the manifest file. (default: package.json)

Should it be possible to omit the short version?

License?

Is there a license (e.g. MIT, Apache, GPL) under which you are releasing this?

Cannot build on linux

Not sure why 56deac2 happened, but it broke the makefile:

stephen@sm:~/repos/commander$ uname -a
Linux sm 3.2.0-32-virtual #51-Ubuntu SMP Wed Sep 26 21:53:42 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
stephen@sm:~/repos/commander$ make
cc test.c src/commander.c -o test -Wall -Wextra
test.c: In function ‘main’:
test.c:29:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
test.c:29:3: note: use option -std=c99 or -std=gnu99 to compile your code
src/commander.c: In function ‘normalize_args’:
src/commander.c:148:7: error: ‘for’ loop initial declarations are only allowed in C99 mode
src/commander.c:148:7: note: use option -std=c99 or -std=gnu99 to compile your code
make: *** [test] Error 1

open(): bad address

I receive this error when I attempt to set and optional argument in mon.

example

mon -d -l ./var/log/some.log ...

user-defined docs

to append to what's already there, for documenting sub-commands etc

Feature: Command filters

It would be neat if commander accepted function pointers as filters:

...

command_t program;
command_init(&program, argv[0], "0.0.1");
command_use(&program, some_argv_filter);
command_use(&program, another_argv_filter);

...

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.