Groups
Groups
Sign in
Groups
Groups
paver
Conversations
About
Send feedback
Help
How do I mix positional arguments and options?
7 views
Skip to first unread message
Jason Baker
unread,
Sep 30, 2009, 1:43:02 PM
9/30/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to paver
I want to write a paver script to do our svn branching for us. I
would like the script to accept commands somewhat like the following:
paver branch project_name:branch_name project_name2:branch_name2 -
m "Commit message"
But it doesn't seem as though paver has any way to do that with
consume_args or cmdopts. Is there any other way to do this that I'm
missing?
Kevin Dangoor
unread,
Oct 4, 2009, 9:54:48 PM
10/4/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pa...@googlegroups.com
I would think you could do that with consume_args. That should just pass along everything that remains on the command line.
Kevin
--
Kevin Dangoor
work:
http://labs.mozilla.com/
email:
k...@blazingthings.com
blog:
http://www.BlueSkyOnMars.com
Reply all
Reply to author
Forward
0 new messages