complete for system> complete {flags} 
| input | output | 
|---|---|
| any | record | 
Run the external command to completion, capturing stdout and exit_code
> ^externalarg1|complete
Run external command to completion, capturing, stdout, stderr and exit_code
>do { ^externalarg1 } |complete
In order to capture stdout, stderr, and exit_code, externally piped in commands need to be wrapped with do
    Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
    https://www.nushell.sh/commands/docs/complete.html