The filee command line, watch folders and history settings (1.3.0) - #27
Merged
Merged
Conversation
Command line (src/Filee.Cli, published next to Filee.exe as filee-cli.exe; the installer can put the "filee" command, cli\filee.cmd, on PATH): - filee convert <files, wildcards, folders> --to <format> | --preset <id or name>, with -o, --recursive, --quality, --overwrite/--skip, --json for scripts, and exit codes (0 ok, 1 some failed, 2 usage, 3 nothing). - filee watch <folder>, filee formats [<format>], filee presets, help, version. - Same engines, presets and engine order as the app (CliHost mirrors AppHost). Watch folders (Settings → Watch folders, and filee watch): - FolderWatcher (Filee.Core) converts files that land in a folder once they have settled and open without sharing, so downloads and copies in progress wait; temporary files, unknown formats and the output and originals folders are ignored. Per rule: preset, subfolders, output folder (default <folder>\converted), and whether originals stay or move to <folder>\originals (then waiting files are converted at start). - The tray app runs one watcher per enabled rule (WatchFolderService); conversions show in the toast and history like any other. Tests: FolderWatcherTests (settling, files still being written or held open, ignored files, moving originals, missing folder), Filee.Cli.Tests (conversion, JSON, folders, failures, argument errors, a live watch), a render test of the new page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
General settings get a "Conversion history" card: "Don't keep a history of recent conversions" stops recording finished conversions, and "Clear history" empties it. Version 1.3.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
fileecommand line (src/Filee.Cli, published asfilee-cli.exenext toFilee.exeso it shares the runtime and engines; thefileecommand iscli\filee.cmd). Commands:convert(files, wildcards, folders,--toor--preset,-o,-r,--quality,--overwrite/--skip,--json,--quiet),watch,formats,presets,help,version. Exit codes 0 / 1 some failed / 2 usage or missing input / 3 nothing to do. Same presets and engines as the app.FolderWatcherin Core, new Watch folders page): files that land in a folder are converted once they are complete (unchanged for 2 s and not open elsewhere); temporary/hidden files, unknown formats and the output folders are ignored. Originals can stay or move tooriginals(inbox mode, which also converts files already waiting at start). Alsofilee watchin a terminal.Asked for on Reddit (batches from a CLI, pointing it at a folder).
Tests
New
Filee.Cli.Tests(16) andFolderWatcherTests(fake clock); App tests for the watch folders page and the history settings. Core 101, Cli 16, App and ImageAndPdf passing locally; installer script compiles; checked end to end from a combined publish folder throughcli\filee.cmd, and a live watch converted arriving files.🤖 Generated with Claude Code