Unfortunately it is still a work in progress since the API is not accepting new jokes.
I've commented out the command so that it cannot be accessed from the CLI. More work will need to be done in the submit.py file once the endpoint comes back online.
There is a feature which will need to be added:
The endpoint should allow for the use of the api's dry-run when testing/debugging. This will ensure that the submitted joke is not saved to the API.
Part 2 to #6
Adds a submit command to the joke CLI.
Unfortunately it is still a work in progress since the API is not accepting new jokes.
I've commented out the command so that it cannot be accessed from the CLI. More work will need to be done in the
submit.py
file once the endpoint comes back online.There is a feature which will need to be added:
dry-run
when testing/debugging. This will ensure that the submitted joke is not saved to the API.