CLI¶
This feature is planned and NOT yet implemented. Please give me feedback through GitHub issues if you have any suggestions regarding it.
memoize [--obj-store path] [--env env] [--key key] [--ver ver] [--comparison (mtime|crc32)] [--replacement gdsize] [--max-size '123 MiB'] [--verbose] -- command arg1 arg2 ...
The following items are matched in order.
--obj-store(implicitly lookup)--env(match)command(lookup)The contents of
command(match)arg1, arg2, ...and--key(lookup)The input files and
--ver(match)
This is useful for memoizing parts of a shell-script pipeline. stdin and
stdout work just like normal files, so it can be safely used in a pipe.
command may require stdin, but no TTY interactivity.
memoize uses syscall interception to learn the input and output files.