Skip to content

feat(nodes): support description on node import#205

Merged
srnbckr merged 1 commit into
mainfrom
fix/node-import-desc
Jun 9, 2026
Merged

feat(nodes): support description on node import#205
srnbckr merged 1 commit into
mainfrom
fix/node-import-desc

Conversation

@srnbckr

@srnbckr srnbckr commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Description

Adds an optional description for self-managed node imports, in both the
interactive flow and the manual import-ssh command. The backend SDK
(exalsius_api_client) already accepts and returns the field; this wires it
through the CLI.

Write (import):

  • Interactive exls nodes import: new Description (optional): prompt just
    before the confirmation table; empty input is normalized to None.
  • Manual exls nodes import-ssh: new --description/-d flag.
  • Threaded through the request DTO, operation params, service, and SDK gateway.

Read (display):

  • Added description to the BaseNode domain model and mapped it from SDK
    node responses.
  • Rendered in the node detail view (exls nodes get) as N/A when empty;
    the list view is unchanged.

Allow users to set an optional description when importing a self-managed
node, in both the interactive flow and the manual import-ssh command.

- interactive: prompt 'Description (optional):' just before confirmation;
  empty input is normalized to None
- manual: new --description/-d flag on 'nodes import-ssh'
- thread description through the request, params, service and SDK gateway
- add description to BaseNode domain model and map it from SDK node
  responses; render it (as N/A when empty) in the node detail view
- test that the description is forwarded to the gateway parameters
@srnbckr srnbckr merged commit db148f2 into main Jun 9, 2026
3 checks passed
@srnbckr srnbckr deleted the fix/node-import-desc branch June 9, 2026 13:59
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.

1 participant