aboutsummaryrefslogtreecommitdiff
path: root/crates/whirl_prompt/src/constants.rs
blob: e87cceb9b0e5c45b292e09ed2f92bbf0ecfa5f06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyleft (ɔ) 2021-2021 The Whirlsplash Collective
// SPDX-License-Identifier: GPL-3.0-only

pub const FILES: [&str; 2] = ["README.rst", "Whirl.toml"];
pub const HELPABLES_BUILTINS: [&str; 8] = [
  "cat     - display the contents of a present file",
  "config  - manipulate the configuration",
  "echo    - display a line of predefined text",
  "exit    - end the process",
  "fetch   - a neofetch like utility loosely based on rfetch",
  "help    - you are here",
  "history - display the command history",
  "ls      - display the present files",
];
pub const HELPABLES_BUILTIN_CONFIG: [&str; 2] = [
  "help    - you are here",
  // "refresh - reload the configuration file",
  "show    - display the current configuration",
];