https://github.com/fdncred/nu_plugin_run_internal
A nushell plugin to run internal commands
https://github.com/fdncred/nu_plugin_run_internal
nushell nushell-plugin
Last synced: 4 months ago
JSON representation
A nushell plugin to run internal commands
- Host: GitHub
- URL: https://github.com/fdncred/nu_plugin_run_internal
- Owner: fdncred
- License: mit
- Created: 2025-01-23T14:50:54.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-09-07T00:18:08.000Z (5 months ago)
- Last Synced: 2025-09-07T02:32:11.874Z (5 months ago)
- Topics: nushell, nushell-plugin
- Language: Rust
- Homepage:
- Size: 217 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nu_plugin_run_internal
This is a [Nushell](https://nushell.sh/) plugin called "run-internal". The idea is to be able to run internal nushell commands.
## Installing
```nushell
> cargo install --path .
```
## Usage
```
Runs internal command.
Usage:
> run-internal
Flags:
-h, --help: Display the help message for this command
Parameters:
command : Internal command to run.
Input/output types:
╭─#─┬─input─┬─output─╮
│ 0 │ any │ any │
╰───┴───────┴────────╯
Examples:
Run an internal command
> run-internal "ls"
Run a pipeline
> run-internal "print (ls | first 5);print (ps | first 5)
```
### Examples

### Error from bad command

### Notes
This is seriously a hack job. Some things are not exposed to plugins so this plugin is essentially creating a new engine_state and stack. Your mileage may vary. PRs welcome!