hookdeck-cli icon indicating copy to clipboard operation
hookdeck-cli copied to clipboard

Project use: Can't use the '--local' flag

Open Marrieto opened this issue 2 months ago • 4 comments

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:

Image

Is the flag removed?

Marrieto avatar Nov 13 '25 07:11 Marrieto

@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:

  1. Run project use and select the project
  2. Copy the global config to a local .hookdeck/config.toml location. 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.

leggetter avatar Nov 13 '25 12:11 leggetter

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 avatar Nov 14 '25 09:11 Marrieto

@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

leggetter avatar Nov 14 '25 18:11 leggetter

Thank you very much for the excellent support!

@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

Marrieto avatar Nov 17 '25 16:11 Marrieto

Resolved in https://github.com/hookdeck/hookdeck-cli/releases/tag/v1.3.0

leggetter avatar Dec 11 '25 16:12 leggetter