Skip to content

Add Command DSL for reusable command templates#3

Merged
nyo16 merged 1 commit intomasterfrom
feature/command-dsl
Mar 21, 2026
Merged

Add Command DSL for reusable command templates#3
nyo16 merged 1 commit intomasterfrom
feature/command-dsl

Conversation

@nyo16
Copy link
Copy Markdown
Owner

@nyo16 nyo16 commented Mar 21, 2026

Introduce NetRunner.Command module with defcommand macro that lets users define reusable command templates with default args and options. Command structs are accepted by run/2, stream!/2, and stream/2 alongside the existing list-based API.

Includes 65 new tests covering struct construction, macro behavior, API integration, compile-time validation, and edge cases.

Introduce NetRunner.Command module with defcommand macro that lets users
define reusable command templates with default args and options. Command
structs are accepted by run/2, stream!/2, and stream/2 alongside the
existing list-based API.

Includes 65 new tests covering struct construction, macro behavior,
API integration, compile-time validation, and edge cases.
@nyo16 nyo16 merged commit 8aeff3b into master Mar 21, 2026
9 checks passed
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