Project use: Can't use the '--local' flag
I want to use the function mentioned here to pin the project to my current directory,
but I'm getting unknown flag: --local, see attached photo:
Is the flag removed?
@Marrieto - we removed that a little while back and it looks like we missed some of the docs. We had planned to add the functionality back, but it hasn't been prioritized.
A bit of background on this:
- https://github.com/hookdeck/hookdeck-cli/pull/102
- https://github.com/hookdeck/hookdeck-cli/pull/103
In the meantime, you can:
- Run
project useand select the project - Copy the global config to a local
.hookdeck/config.tomllocation. The CLI will then pick that up.
It's a relatively small change, so I'll add it back shortly. The --local flag will auto-create that local config for you.
I'll tag you in the PR to get your feedback.
Thanks for the update @leggetter,
I'll look into the use of a config file for now, thanks for the update. I appreciate a tag in the PR, cheers! 🙂
@Marrieto - the PR with the --local support is here https://github.com/hookdeck/hookdeck-cli/pull/174
I've published a BETA release if you want to try it out. Install via:
# NPM
npm install hookdeck-cli@beta -g
# Homebrew
brew install hookdeck/hookdeck/hookdeck-beta
# To force the symlink update and overwrite all conflicting files:
# brew link --overwrite hookdeck-beta
Thank you very much for the excellent support!
@Marrieto - the PR with the
--localsupport is here https://github.com/hookdeck/hookdeck-cli/pull/174I've published a BETA release if you want to try it out. Install via:
# NPM npm install hookdeck-cli@beta -g # Homebrew brew install hookdeck/hookdeck/hookdeck-beta # To force the symlink update and overwrite all conflicting files: # brew link --overwrite hookdeck-beta
Resolved in https://github.com/hookdeck/hookdeck-cli/releases/tag/v1.3.0