From 4bf61697812c8cae950cb2f27f8ab0f3537ef098 Mon Sep 17 00:00:00 2001 From: Artemy Date: Wed, 17 Aug 2022 14:23:51 +0300 Subject: [PATCH] doc: add compressed example, and cli doc --- doc/main.md | 6 ++++++ examples/hello_world.conla | 1 + 2 files changed, 7 insertions(+) create mode 100644 examples/hello_world.conla diff --git a/doc/main.md b/doc/main.md index e89a5b6..e68c52c 100644 --- a/doc/main.md +++ b/doc/main.md @@ -1,3 +1,9 @@ +# Cli + +`on file.onla` to run file.onla +`on file.onla --compress -o compressed.conla` to compress file.onla to messagePack format +`on file.onla --convert json -o file.json` to compress file.onla to json (supported formats: json, json5, yaml) + # How to `All posibilities in example.json5` diff --git a/examples/hello_world.conla b/examples/hello_world.conla new file mode 100644 index 0000000..e8ece05 --- /dev/null +++ b/examples/hello_world.conla @@ -0,0 +1 @@ +‘¬Hello world! \ No newline at end of file