$ set -e -x -v -u -o pipefail set +v $ set +v $ GREEN='\033[0;32m' $ YELLOW='\033[1;33m' $ NC='\033[0m' $ PS4='\033[0;32m$ \033[0m' $ EXCALIDRAW_BRUTE_EXPORT_CLI_URL=http://localhost:59876 $ [[ -z http://localhost:59876 ]] $ : ECHO_SNIPPET_START $ npx excalidraw-brute-export-cli -i ./examples/simple.excalidraw --background 1 --embed-scene 0 --dark-mode 0 --scale 1 --format svg -o ./examples/simple_example_output.svg info: options: info: { i: './examples/simple.excalidraw', input: './examples/simple.excalidraw', background: true, b: true, embedScene: false, e: false, darkMode: false, d: false, scale: 1, s: 1, format: 'svg', f: 'svg', o: './examples/simple_example_output.svg', output: './examples/simple_example_output.svg', url: '', excalidrawVersion: '', headless: true, leaveBrowserRunning: false, screenshots: '', actionSleepTime: 200, timeout: -1 } info: Falling back to environment variable EXCALIDRAW_BRUTE_EXPORT_CLI_URL info: excalidrawURL: http://localhost:59876 info: Detecting Excalidraw version... info: excalidrawVersion: 0.15.0 info: Clicking: Menu Burger info: Clicking: Open Menu Item info: File is chosen! info: Clicking: Export Menu Item info: await exportBackgroundSwitch.count(): 1 info: await exportEmbedSwitch.count(): 1 info: await exportScaleDiv.count(): 1 info: await exportScaleElements.count(): 3 info: Pressing SVG button! info: File is downloaded! info: closing... $ ls ./examples/simple_example_output.svg ./examples/simple_example_output.svg $ : ECHO_SNIPPET_END