Skip to content
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 comand line argument parsing. #23

Closed
dinusv opened this issue Jul 21, 2016 · 1 comment
Closed

Add comand line argument parsing. #23

dinusv opened this issue Jul 21, 2016 · 1 comment
Assignees
Labels

Comments

@dinusv
Copy link
Contributor

dinusv commented Jul 21, 2016

This requires a custom parser to be implemented, since the scripts need access to command line arguments as well:

livecv.exe [--option value --option2 value] script.qml [args]
@dinusv dinusv added the cpp label Jul 21, 2016
@dinusv dinusv added this to the Version 1.3.0 milestone Jul 21, 2016
@dinusv
Copy link
Contributor Author

dinusv commented Jul 21, 2016

Access to arguments from qml is done using livecv object.

livecv.arg('arg1')
livecv.arg(1) //for positional

@dinusv dinusv self-assigned this Sep 12, 2016
@dinusv dinusv closed this as completed in 6444f20 Jan 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant