aboutsummaryrefslogtreecommitdiff
path: root/src/prompt/structure.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-05 11:08:51 +0000
committerFuwn <[email protected]>2021-05-05 11:08:51 +0000
commit2ef2fc8a528cb7953bc599588f09a5ad7ac62d2c (patch)
tree06a98fc1af4514c58ff14d634c1a89ec1e415be7 /src/prompt/structure.rs
parentfeat(redirect_id): specify custom ip in config (diff)
downloadwhirl-2ef2fc8a528cb7953bc599588f09a5ad7ac62d2c.tar.xz
whirl-2ef2fc8a528cb7953bc599588f09a5ad7ac62d2c.zip
feat(global): add a shell-like prompt for interfacing with the server during operation
Diffstat (limited to 'src/prompt/structure.rs')
-rw-r--r--src/prompt/structure.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/prompt/structure.rs b/src/prompt/structure.rs
new file mode 100644
index 0000000..b153cde
--- /dev/null
+++ b/src/prompt/structure.rs
@@ -0,0 +1,7 @@
+// Copyleft (ɔ) 2021-2021 The Whirlsplash Collective
+// SPDX-License-Identifier: GPL-3.0-only
+
+pub struct Command {
+ pub keyword: String,
+ pub args: Vec<String>,
+}