From 9d43fa4b2400b0e4fae1443192b7515388bf11b4 Mon Sep 17 00:00:00 2001 From: jochen Date: Thu, 19 Nov 2026 22:50:25 +0100 Subject: [PATCH] =?UTF-8?q?mesh-cli:=20config=20no=20longer=20passes=20`pu?= =?UTF-8?q?ll`=20(issue=201982;=20ADR=200681=20=C2=A71)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mesh-config's verb takes no pull request argument any more, so `nox config` offers none. Builds: ADR 0681 ยง1 (the verb `config` takes no `pull`). Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy --- modules/mesh-cli/cmd/mesh-cli/commands.go | 4 ++-- modules/mesh-cli/cmd/mesh-cli/main_test.go | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/mesh-cli/cmd/mesh-cli/commands.go b/modules/mesh-cli/cmd/mesh-cli/commands.go index 71a971df7..53fa35720 100644 --- a/modules/mesh-cli/cmd/mesh-cli/commands.go +++ b/modules/mesh-cli/cmd/mesh-cli/commands.go @@ -289,12 +289,12 @@ var commands = []command{ does: "clear one of a module's config values on one node", allowed: []string{"node", "why"}, build: func(l line) (call, error) { return configChange(l, "clear") }}, {words: []string{"config"}, usage: "[list|set|clear|history|propose|proposals] [--module m] [--node n] [--key k] [--value v] [--why w]", - does: "the mesh's config values, at any level", allowed: []string{"module", "node", "key", "value", "why", "limit", "proposal", "pull", "clear"}, + does: "the mesh's config values, at any level", allowed: []string{"module", "node", "key", "value", "why", "limit", "proposal", "clear"}, build: func(l line) (call, error) { if len(l.pos) > 1 { return call{}, usageErr("give at most one action") } - a := pick(l, "module", "node", "key", "why", "proposal", "pull", "clear", "limit") + a := pick(l, "module", "node", "key", "why", "proposal", "clear", "limit") if len(l.pos) == 1 { a["action"] = l.pos[0] } diff --git a/modules/mesh-cli/cmd/mesh-cli/main_test.go b/modules/mesh-cli/cmd/mesh-cli/main_test.go index 2fca7dfd5..7939ec0f2 100644 --- a/modules/mesh-cli/cmd/mesh-cli/main_test.go +++ b/modules/mesh-cli/cmd/mesh-cli/main_test.go @@ -173,6 +173,7 @@ func TestALineWithNoOwnerOrNotReadCallsNothingAndSaysWhy(t *testing.T) { {"conditions --bogus x", 2, "--bogus is not a flag"}, {"settings set zsh {\"execute\":\"withhold\"} --node g14 --why x", 2, "set each key"}, {"healers --days soon", 2, "takes a number"}, + {"config propose --pull novox/x#1", 2, "--pull is not a flag"}, {"frobnicate", 2, "is not a command"}, } { got := console(t, nil)