You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've used shep generate endpoint /hello/{id} to create a new function. I now want to remove it, but this would required editing a few different files. It would be useful if there was a shep remove endpoint /hello/{id} command that removed the code and cleaned up api gateway and lambda on the next deploy.
The text was updated successfully, but these errors were encountered:
@warrickhill thanks for the suggestion! We'll add it to our list, but you are also welcome to make a PR yourself. Happy to help review or talk through code.
Hi @southpolesteve as a start can you point me to the bits of code that might need changing and which files are modified by generate endpoint. I think this would be really useful and could try to make a PR
To add a command, you should make a folder for it at src/{$command} (this is where the logic lives) and also add it to src/commands (this is where the CLI options live and what documentation is generated from)
I've used
shep generate endpoint /hello/{id}
to create a new function. I now want to remove it, but this would required editing a few different files. It would be useful if there was ashep remove endpoint /hello/{id}
command that removed the code and cleaned up api gateway and lambda on the next deploy.The text was updated successfully, but these errors were encountered: