Hello all! I've frequently found myself having to clear a namespace after working on a demo or when experimenting. I'll have a number of artifacts left in a namespace that I don't want to preserve. Right now, unless I used wskdeploy for deployment, I'm stuck manually deleting all of the actions, rules, etc. I want to propose adding a command to the namespace subcommand in the cli for deleting all the artifacts in a namespace.
I envision the syntax for the command going something like: $ wsk namespace delete all This command will delete all entities in the namespace <namespace>: <list of entities> Are you sure you want to proceed? Type '<namespace name>' to proceed: <user typed namespace name> action: <entity 1> is deleted <entity 2> is deleted .. trigger: <entity 3> is deleted <entity 4> is deleted .. etc The user would then be prompted whether they really want to delete all of the entities in the namespace. They would need to type in a "danger phrase" such as the name of the namespace to avoid accidentally running the command. This is similar to deleting a github repo. If anything but the "danger phrase" is received then the operation is aborted. This is a feature I would find personally useful, and would like to add it to the cli. Does the community at large feel this is a useful feature? Thanks, Will