Skip to content

Conversation

mattmikolay
Copy link
Contributor

@mattmikolay mattmikolay commented Oct 14, 2025

Description

All of our CLI commands support passing in a hidden --api-origin flag:

// Hidden flags to use a different api url for development purposes.
"api-origin": Flags.string({
hidden: true,
required: false,
multiple: false,
}),

But the knock push and knock pull commands currently fail to forward this flag when calling the resource-specific push/pull commands. This PR fixes these commands.

I tried updating unit tests to verify this behavior, but there’s no simple way to test this using Sinon.

Tasks

KNO-10099

Copy link

linear bot commented Oct 14, 2025

@mattmikolay mattmikolay marked this pull request as ready for review October 14, 2025 17:28
@mattmikolay mattmikolay merged commit 399f33b into main Oct 14, 2025
7 checks passed
@mattmikolay mattmikolay deleted the mattmik-kno-10099-cli-knock-push-and-knock-pull-commands-do-not-support-api branch October 14, 2025 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants