diff --git a/src/commands/default.ts b/src/commands/default.ts new file mode 100644 index 0000000..43aa212 --- /dev/null +++ b/src/commands/default.ts @@ -0,0 +1,18 @@ +const createDefault = (): string[] => { + const defaultMsgArr = [ + "
", + "COMMAND NOT FOUND", + "Type 'help' to get started.", + "
", + ]; + + const defaultMsg: string[] = []; + + defaultMsgArr.forEach((ele) => { + defaultMsg.push(ele); + }); + + return defaultMsg; +}; + +export const DEFAULT = createDefault();