BUG: Not all named parameters have two dashes
Working on a pack for fpm, which takes named arguments. (https://github.com/jordansissel/fpm/wiki)
Not all named parameters have two dashes, as assumed in the current documentation. For example, some of the condensed attributes (like -s or -t or even -n) have only a single dash, yet there does not appear to be a place for me to adjust how parameters are being passed.
You should be able to adjust that by setting kwarg_op runner param - kwarg_op=- on the command line or in the metadata file
On Dec 10, 2014 1:05 AM, "James Fryman" [email protected] wrote:
Working on a pack for fpm, which takes named arguments. ( https://github.com/jordansissel/fpm/wiki)
Not all named parameters have two dashes, as assumed in the current documentation. For example, some of the condensed attributes (like -s or -t or even -n) have only a single dash, yet there does not appear to be a place for me to adjust how parameters are being passed.
— Reply to this email directly or view it on GitHub.
@Kami That's global... but I have a mix of single dashed and multi-dashed parameters in the same action. What would I do there?
Also, we have zero documents on this. I'll create a Jira issue to get it added.
@jfryman Yeah, you are right. Currently you can only set it globally.
And I also agree about the lack of documentation on this - we should document this feature and add examples of how to use it.
It looks like documentation as well as examples of how to use this feature have been created and this issue can be closed.
https://docs.stackstorm.com/actions.html?highlight=two%20dashes.