more docs

This commit is contained in:
Barrett Ruth 2025-10-01 21:36:53 -04:00
parent 7eb314b02c
commit 6b8a1e2087
10 changed files with 83 additions and 142 deletions

View file

@ -44,11 +44,11 @@ local function parse_command(args)
if not subcommand then
return { type = 'error', message = 'cache command requires subcommand: clear' }
end
if subcommand == 'clear' then
if vim.tbl_contains({ 'clear', 'read' }, subcommand) then
local platform = filtered_args[3]
return {
type = 'cache',
subcommand = 'clear',
subcommand = subcommand,
platform = platform,
}
else