Replies: 1 comment
-
|
im not entirely sure what exactly your goal here is, but if you just want the exitcode from a command you can use the example: git commit -m foo
if $env.LAST_EXIT_CODE != 0 { print "ERROR" } |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, i'm new to nushell. I'm doing a quick script to run some command. I would like a function similar to complete but
Does this function exist/feasible ?
Beta Was this translation helpful? Give feedback.
All reactions