Skip to content

added support for multiple values for a single command argument.#5

Open
emre wants to merge 2 commits into
kadirpekel:masterfrom
emre:master
Open

added support for multiple values for a single command argument.#5
emre wants to merge 2 commits into
kadirpekel:masterfrom
emre:master

Conversation

@emre

@emre emre commented Jul 18, 2013

Copy link
Copy Markdown

No description provided.

emre added 2 commits July 18, 2013 10:54
    def bar(c=[]):
        print c
    komandr.command(bar)

    ./foo.py --c=arg1 --c=arg2
        ['arg1', 'arg2', ]

- Added related unit tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant