Skip to content

[All Platforms][CLI&UX] nemoclaw channels add without <channel> argument dumps raw stack trace instead of actionable usage hint #3704

@coder-glenn

Description

@coder-glenn

Description

Description

Running `nemoclaw  channels add` without specifying a channel name
(slack/telegram/discord) crashes with a full Node.js RequiredArgsError
stack trace instead of a concise "missing argument" message. The --help
output is also misleading: it shows `` at the end of the
description text rather than in the command syntax, making it look
optional.
Environment
Device:        DGX Spark (spark-dadc, 10.173.104.110) & MacOS
OS:            Ubuntu (FastOS 7.5.0, kernel 6.17.0-1014-nvidia)
Architecture:  aarch64
Node.js:       v22.22.3
OpenShell CLI: 0.0.39
NemoClaw:      v0.0.44 (latest)
OpenClaw:      2026.4.24
Steps to Reproduce
1. nemoclaw my-assistant channels add
   (without specifying channel name)
Expected Result
Concise error message:
  Missing required argument: channel (slack | telegram | discord)
  Usage: nemoclaw  channels add  [--dry-run]

And --help should show the argument in the command syntax:
  nemoclaw  channels add    Save messaging channel credentials and rebuild
Actual Result
Full stack trace dumped to terminal:

  RequiredArgsError: Missing 1 required arg:
  channel  Messaging channel
  See more help with --help
      at validateArgs (.../parser/validate.js:84:19)
      at validate (.../parser/validate.js:272:5)
      ...
      (30+ lines of internal oclif/Node.js stack)

Additionally, --help output is misleading:
  nemoclaw  channels add          Save messaging channel credentials and rebuild 

The  appears at the end of the description, not in the
command syntax column, making it look like part of the description
rather than a required positional argument.
Logs
Same issue affects all channels subcommands that require :
  channels add, channels remove, channels stop, channels start

Bug Details

Field Value
Priority Unprioritized
Action Dev - Open - To fix
Disposition Open issue
Module Machine Learning - NemoClaw
Engineer Aaron Erickson
Requester Merc Lau
Keyword NemoClaw, NemoClaw_CLI&UX, NEMOCLAW_GH_SYNC_APPROVAL
Days Open 0

[NVB#6186927]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions