dubeejw opened a new issue #2869: CLI should use filename as action name when one is not provided URL: https://github.com/apache/incubator-openwhisk/issues/2869 When creating an action, we should assume the action name will match the filename if an action name is not provided. (1) For instance, if a filename of `someAction.js` is specified without an action name, we would create the action named `someAction`. (2) In the case were only one argument is passed without a file extension and a kind is specified, we can assume that the argument is a filename. (3) The same hold true if a file extension is passed that does not map to a runtime, but a kind is specified. 1. ``` $ wsk action create someAction.js ``` 2. ``` $ wsk action create someAction --kind nodejs:6 ``` 3. ``` $ wsk action create someAction.someExt --kind nodejs:6 ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services