fnproject/cli

Error Message for "fn create context" missing context name argument is unclear

Closed this issue · 0 comments

This is not a code bug just a suggestion to change the language of an error message. When the user forgets the context name as fn create context <context-name>, the error message simply says requires the missing argument <context> - this is unclear because there is already an "argument" to fn called context. If you change <context> to <context-name> in the output, it would be a lot clearer.

$ fn create context --api-url <my-fn-url> --registry <my-docker-registry>
Fn: Create a new context using fn create context requires the missing argument '<context>'