https://github.com/tyarel8/nu_plugin_file_dialog
A simple nu plugin to select files through the native dialog.
https://github.com/tyarel8/nu_plugin_file_dialog
file-dialog nushell nushell-plugin
Last synced: 10 months ago
JSON representation
A simple nu plugin to select files through the native dialog.
- Host: GitHub
- URL: https://github.com/tyarel8/nu_plugin_file_dialog
- Owner: Tyarel8
- License: mit
- Created: 2024-05-07T22:43:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-19T13:33:03.000Z (11 months ago)
- Last Synced: 2025-03-19T14:32:37.460Z (11 months ago)
- Topics: file-dialog, nushell, nushell-plugin
- Language: Rust
- Homepage:
- Size: 101 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# File Dialog plugin
A simple nu plugin that invokes the native file dialog of the os through [native-dialog-rs](https://github.com/native-dialog-rs/native-dialog-rs).
Works on windows (tested) and should work on GNU/Linux and BSD Unix. Doesn't work on macOS because [UI elements can't be spawned on a non-main thread](https://github.com/native-dialog-rs/native-dialog-rs?tab=readme-ov-file#why-the-program-crashed-when-opening-a-dialog-on-macos).
## Installation
```sh
cargo install nu_plugin_file_dialog
plugin add ~/.cargo/bin/nu_plugin_file_dialog
```
## Usage
run `file-dialog --help` to get the parameters and examples.