Implement sub-command parsing + add on/word/line/over commands

This commit is contained in:
2025-11-11 22:09:26 -06:00
parent bfc9459b69
commit aaff8a5011
8 changed files with 153 additions and 9 deletions

View File

@@ -35,6 +35,10 @@ import {Undo} from "./undo.js";
import {Unique} from "./unique.js";
import {Unquote} from "./unquote.js";
import {Upper} from "./upper.js";
import {Over} from "./over.js";
import {Line} from "./line.js";
import {Word} from "./word.js";
import {On} from "./on.js";
export type Commands = Command<CommandData>[]
export const commands: Commands = [
@@ -50,13 +54,16 @@ export const commands: Commands = [
new Indent,
new InFile,
new Join,
new Line,
new Lines,
new Lipsum,
new Load,
new Lower,
new LSub,
new Missing,
new On,
new OutFile,
new Over,
new Paste,
new Prefix,
new Quote,
@@ -74,4 +81,5 @@ export const commands: Commands = [
new Unique,
new Unquote,
new Upper,
new Word,
]