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>
11 lines
351 B
C++
11 lines
351 B
C++
#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**);
|
|
}
|