librelist archives

« back to archive

Parse write handler arguments with Args?

Parse write handler arguments with Args?

From:
Braem Bart
Date:
2014-09-30 @ 08:52
Dear all,

We are converting our documentation from the old cp_va_kparse to Args.

However, we noticed that now handler arguments have become very hard to 
parse. We used to parse the write handler arguments with cp_va_kparse 
which was straightforward. 
What would be the best approach to do this with Args? Can we somehow split
the write handler argument to turn it into a Vector<String>?

Note: to keep things clear for our students, we are using Click-2.0.1. I 
fully realise this version is outdated, but it is impossible to keep up 
with all new git commit throughout the academic year.

Best regards,
Bart