Elektrine lite

← Feed

@jdriven@mastodon.social

2026-05-06 07:07 UTC

Nushell Niceties: Wrapping External Commands With def --wrapped A blog by @mrhaki The def keyword in Nushell is used to define a custom command. By adding the --wrapped flag you can tell Nushell to accept unknown flags and arguments and pass them on as strings. In the command parameters you use a "rest" parameter defined by …​ to capture the remaining arguments. Then in the command body you use the spread operator …​ to expand them... #dev #softwaredevelopment #Nushell https://jdriven.com/blog/2026/05/Nushell-Niceties-Wrapping-External-Commands-With-def---wrapped/

Replies (0)

No replies.