-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
README: Use example instead directly embedding example.
- Loading branch information
1 parent
66af20d
commit 1c1bd58
Showing
13 changed files
with
486 additions
and
388 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
[0;32m$ [0mset -e -x -v -u -o pipefail | ||
set +v | ||
[0;32m$ [0mset +v | ||
[0;32m$ [0mGREEN='\033[0;32m' | ||
[0;32m$ [0mYELLOW='\033[1;33m' | ||
[0;32m$ [0mNC='\033[0m' | ||
[0;32m$ [0mPS4='\033[0;32m$ \033[0m' | ||
[0;32m$ [0mEXCALIDRAW_BRUTE_EXPORT_CLI_URL=http://localhost:59876 | ||
[0;32m$ [0m[[ -z http://localhost:59876 ]] | ||
[0;32m$ [0m: ECHO_SNIPPET_START | ||
[0;32m$ [0mnpx 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 | ||
[38;2;86;156;214minfo[39m: options: | ||
[38;2;86;156;214minfo[39m: { | ||
i: [32m'./examples/simple.excalidraw'[39m, | ||
input: [32m'./examples/simple.excalidraw'[39m, | ||
background: [33mtrue[39m, | ||
b: [33mtrue[39m, | ||
embedScene: [33mfalse[39m, | ||
e: [33mfalse[39m, | ||
darkMode: [33mfalse[39m, | ||
d: [33mfalse[39m, | ||
scale: [33m1[39m, | ||
s: [33m1[39m, | ||
format: [32m'svg'[39m, | ||
f: [32m'svg'[39m, | ||
o: [32m'./examples/simple_example_output.svg'[39m, | ||
output: [32m'./examples/simple_example_output.svg'[39m, | ||
url: [32m''[39m, | ||
excalidrawVersion: [32m''[39m, | ||
headless: [33mtrue[39m, | ||
leaveBrowserRunning: [33mfalse[39m, | ||
screenshots: [32m''[39m, | ||
actionSleepTime: [33m200[39m, | ||
timeout: [33m-1[39m | ||
} | ||
[38;2;86;156;214minfo[39m: Falling back to environment variable EXCALIDRAW_BRUTE_EXPORT_CLI_URL | ||
[38;2;86;156;214minfo[39m: excalidrawURL: http://localhost:59876 | ||
[38;2;86;156;214minfo[39m: Detecting Excalidraw version... | ||
[38;2;86;156;214minfo[39m: excalidrawVersion: 0.15.0 | ||
[38;2;86;156;214minfo[39m: Clicking: Menu Burger | ||
[38;2;86;156;214minfo[39m: Clicking: Open Menu Item | ||
[38;2;86;156;214minfo[39m: File is chosen! | ||
[38;2;86;156;214minfo[39m: Clicking: Export Menu Item | ||
[38;2;86;156;214minfo[39m: await exportBackgroundSwitch.count(): 1 | ||
[38;2;86;156;214minfo[39m: await exportEmbedSwitch.count(): 1 | ||
[38;2;86;156;214minfo[39m: await exportScaleDiv.count(): 1 | ||
[38;2;86;156;214minfo[39m: await exportScaleElements.count(): 3 | ||
[38;2;86;156;214minfo[39m: Pressing SVG button! | ||
[38;2;86;156;214minfo[39m: File is downloaded! | ||
[38;2;86;156;214minfo[39m: closing... | ||
[0;32m$ [0mls ./examples/simple_example_output.svg | ||
./examples/simple_example_output.svg | ||
[0;32m$ [0m: ECHO_SNIPPET_END |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Binary file not shown.
File renamed without changes
This file contains 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