diff options
author | Aram Drevekenin <aram@poor.dev> | 2023-04-19 10:09:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-19 10:09:39 +0200 |
commit | caaee30179cf8e3d20ad103b898e4bad9ebf648b (patch) | |
tree | 6348896d80031befd553d71340e99c02f8f0d078 /zellij-utils/src/cli.rs | |
parent | 26fcf8470295f0ce37f70d0f7bdd557296f88539 (diff) |
feat(plugins): reload plugin at runtime (#2372)
* fix(plugins): proper error when wasm file does not exist
* reload working
* race condition handling
* refactor(plugins): start plugin
* refactor(plugins): plugin-loader
* refactor(plugins): load/reload plugin
* refactor(plugins): apply cached events
* fix(plugins): gittery loading
* chore(plugins): rename reload-plugin to start-or-reload-plugin
* chore(styling): small cleanups
* style(fmt): rustfmt
* style(fmt): cleanups
* style(fmt): cleanups
* test(e2e): update snapshots
* test(e2e): update snapshots
* chore(repo): comment plugin optimization because it doubles the CI time
Diffstat (limited to 'zellij-utils/src/cli.rs')
-rw-r--r-- | zellij-utils/src/cli.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/zellij-utils/src/cli.rs b/zellij-utils/src/cli.rs index aa8a27ea3..14bcfae7a 100644 --- a/zellij-utils/src/cli.rs +++ b/zellij-utils/src/cli.rs @@ -7,6 +7,7 @@ use crate::{ use clap::{Parser, Subcommand}; use serde::{Deserialize, Serialize}; use std::path::PathBuf; +use url::Url; #[derive(Parser, Default, Debug, Clone, Serialize, Deserialize)] #[clap(version, name = "zellij")] @@ -373,4 +374,7 @@ pub enum CliAction { NextSwapLayout, /// Query all tab names QueryTabNames, + StartOrReloadPlugin { + url: Url, + }, } |