require.Contains(t, help, "--agent NAME import into an existing direct child (default: root)")
}
+func TestHelpListsTheRootNotificationCommand(t *testing.T) {
+ require.Contains(t, commandOutput(t, "help"), "notify --source SOURCE --id ID --text TEXT")
+ require.Contains(t, commandOutput(t, "notify", "--help"), "not processed")
+}
+
func commandOutput(t *testing.T, args ...string) string {
t.Helper()