openwhisk-cli icon indicating copy to clipboard operation
openwhisk-cli copied to clipboard

CLI Should Allow for Flag Arguments to be Stored in Properties File

Open dubee opened this issue 8 years ago • 3 comments

For example, wsk action list will display 30 actions by default. I should be able to save a non-default value for the limit in wskprops allowing wsk action list to read the stored non-default limit from properties.

Possible usage: $ wsk property set --actionlistlimit 50

$ wsk action list
actions
action1
...
action50

dubee avatar May 26 '17 18:05 dubee

@mdeuser, @rabbah, @csantanapr, thoughts?

dubee avatar May 26 '17 19:05 dubee

I'm a little confused regarding the issue title and the description. I'm guessing the intent to define some specific default behaviors in the .wskprops configuration file such that these values can be overridden via the wsk property set command.

In some cases the min/max values for these default may be restricted by the backend, so enabling this enforcement in a friendly way would be good.

mdeuser avatar May 30 '17 21:05 mdeuser

@mdeuser, I mean that we should store user defined non-default values in the property file so that the user can store his or her preferred values for parameters. These values would have to be within the min/max limits defined by the controller.

dubee avatar May 31 '17 15:05 dubee