nushell/crates/nu-command
Reilly Wood 7413ef2824
Tweak run-external signature so command must be a string (#8971)
Tiny fix: clarify in `run-external`'s signature that the external
command must be a string.

### Before
```
Signatures:
  <any> | run-external <any> -> <any>

Parameters:
  command <any>: external command to run
  ...args <any>: arguments for external command
```

### After
```
Signatures:
  <any> | run-external <string> -> <any>

Parameters:
  command <string>: external command to run
  ...args <any>: arguments for external command
```


### Notes

I was hoping to change more `any`s to more specific types, but alas I
think we can only change `command` right now. The input can be any type
and it gets rendered to a string before being passed to the external.
The args can be any value type and they get converted to strings. The
output can be either binary or a string.
2023-04-22 10:57:16 -07:00
..
assets refactor html module (#5246) 2022-04-20 08:50:14 -05:00
src Tweak run-external signature so command must be a string (#8971) 2023-04-22 10:57:16 -07:00
tests Reuse the cached parse results of parsed files (#8949) 2023-04-22 07:00:33 +12:00
Cargo.toml Upgrade open crate to fix WSL bug (#8905) 2023-04-16 22:05:40 -07:00
LICENSE Fix rest of license year ranges (#8727) 2023-04-04 09:03:29 +12:00