Crates.io | shellac-json |
lib.rs | shellac-json |
version | 0.2.0 |
source | src |
created_at | 2019-10-05 15:23:10.941724 |
updated_at | 2019-10-05 15:23:10.941724 |
description | Shell-Agnostic Completion server: command argument autocompletion JSON conversion |
homepage | |
repository | https://gitlab.redox-os.org/AdminXVII/shellac-server |
max_upload_size | |
id | 170125 |
size | 18,810 |
See https://github.com/oilshell/oil/wiki/Shellac-Protocol-Proposal-V2 and https://www.redox-os.org/news/rsoc-ion-ux-2/ for information about this repo
The end result aims toward being a binary that
See the original and adapted proposals for formal specs.
Informal demo shellac definition files can be found in the completion folder.
Communication is handled via cap'n proto using the definition found in shellac.capnp. Shell can choose to start a binary per request (simple but slow), or the recommended setup of using a socket for shared, extended communications. This is a preliminary version, and as such the API is not yet finalised. Focus is currently more on stabilizing the definition file format rather than the shell-facing protocol, so change is to be expected.
Reach out at https://oilshell.zulipchat.com/#narrow/stream/146045-shell-autocompletion for discussion and feel free to open issues and MR. Any help is really appreciated.