This commit is contained in:
Snarling
2022-10-03 12:12:16 -04:00
parent ab56d18e1e
commit 50f14b4f58
67 changed files with 307 additions and 599 deletions
+2 -3
View File
@@ -1,5 +1,4 @@
/* tslint:disable:max-line-length completed-docs variable-name*/
import { IMap } from "../types";
export const TerminalHelpText: string[] = [
"Type 'help name' to learn more about the command ",
@@ -47,7 +46,7 @@ export const TerminalHelpText: string[] = [
" ",
];
const TemplatedHelpTexts: IMap<(command: string) => string[]> = {
const TemplatedHelpTexts: Record<string, (command: string) => string[]> = {
scriptEditor: (command) => {
return [
`Usage: ${command} [file ...] | [glob]`,
@@ -70,7 +69,7 @@ const TemplatedHelpTexts: IMap<(command: string) => string[]> = {
},
};
export const HelpTexts: IMap<string[]> = {
export const HelpTexts: Record<string, string[]> = {
alias: [
'Usage: alias [-g] [name="value"] ',
" ",