Add drop, sort commands, start tail command; implement support for destructuredOrLines match type; misc fixes

This commit is contained in:
2026-03-02 22:20:18 -06:00
parent e5acc2e8b1
commit d5d69e58a4
10 changed files with 224 additions and 8 deletions

View File

@@ -41,12 +41,16 @@ import {Word} from "./word.js";
import {On} from "./on.js";
import {Each} from "./each.js";
import {Words} from "./words.js";
import {Drop} from "./drop.js";
import {Sort} from "./sort.js";
import {Tail} from "./tail.js";
export type Commands = Command<CommandData>[]
export const commands: Commands = [
new Clear,
new Contains,
new Copy,
new Drop,
new Each,
new Edit,
new Enclose,
@@ -76,8 +80,10 @@ export const commands: Commands = [
new RunFile,
new Save,
new Show,
new Sort,
new Split,
new Suffix,
new Tail,
new To,
new Trim,
new Undo,