aboutsummaryrefslogtreecommitdiff
path: root/crates/whirl_prompt/src/builtins/constants.rs
blob: 5d1dca0cafdbb42cc0cea3b7c196dd388e46bf32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (C) 2021-2021 The Whirlsplash Collective
// SPDX-License-Identifier: GPL-3.0-only

pub const FILES: [&str; 2] = ["README.rst", "Config.toml"];
pub const HELPABLES_BUILTINS: [&str; 9] = [
  "cat     - display the contents of a present file",
  "clear   - clear the display (standard out)",
  "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",
];
pub const HELPABLES_BUILTIN_FETCH: [&str; 4] = [
  "help        - you are here",
  "show        - display the current configuration",
  "",
  "-w, --whirl - replace tux with the whirlsplash logo",
];