hookdeck / hookdeck-cli

Alternative to ngrok for localhost asynchronous web development (e.g. webhooks). No account required.
https://hookdeck.com?ref=github-hookdeck-cli
Apache License 2.0
260 stars 9 forks source link

Fix: persist api key with login #101

Closed leggetter closed 3 weeks ago

leggetter commented 3 weeks ago

Running hookdeck login --api-key {key} does not save the passed API key. So, subsequently running 'hookdeck listen ...` does not have the API key context so uses whatever context it has:

This fix saves the API key value to the config file so it is persisted across commands.

Fixes #100