[
https://issues.apache.org/jira/browse/LIBCLOUD-394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13763624#comment-13763624
]
Tomaz Muraus commented on LIBCLOUD-394:
---------------------------------------
I've pushed a commit to trunk - now you can pass "args" argument to the
ScriptDeployment constructor.
I will add accompanying docs with some examples later today or tomorrow.
> ScriptDeployment needs to pass command line arguments to its uploaded script
> ----------------------------------------------------------------------------
>
> Key: LIBCLOUD-394
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-394
> Project: Libcloud
> Issue Type: Improvement
> Components: Compute
> Affects Versions: 0.13.1
> Reporter: Hugh Esco
>
> All attempts to pass a command line argument to my deployment script
> have failed and a review of the pydoc for this module reveal no clues
> about how to accomplish this task.
> I would urge a syntax like the following:
> class FileDeployment(Deployment)
> __init__(self, source, target, args)
> where args would be a scalar representation of the
> command line arguments to be passed to the deployment script.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira