The CLI is a mode of anm2ed (anm2ed info|frame|render ...), not a separate binary

On Windows it attaches to the console it was started from, and gets UTF-8
arguments like the editor does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-10-05 13:34:36 -04:00
1 parent 2dbbfa5e86
commit abb9f965d6
5 files changed
+63 -38

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#pragma once
// The command-line mode: "anm2ed <info|frame|render> <file.anm2> [options]" looks at a file without the editor, as
// text or drawn (by the editor's OpenGL renderer, in a hidden window) to a PNG frame, a contact sheet, PNGs, a GIF or
// a video.
namespace anm2ed::cli
{
bool is_cli(int, const char**);
int run(int, const char**);
}