From 631e669e644e28de9027788e03fcc5cfadc9c3da Mon Sep 17 00:00:00 2001 From: brunosimon Date: Wed, 20 Sep 2017 23:17:07 +0200 Subject: [PATCH] :memo: Readme > Improve configuration part --- readme.md | 71 +++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 58 insertions(+), 13 deletions(-) diff --git a/readme.md b/readme.md index 2956d74..33b2203 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@ # Keppler -Real time code sharing for your lectures and presentations. +> Real time code sharing for your lectures and presentations. ## What is keppler @@ -45,13 +45,13 @@ Simply share the URL that should appear with your audience and they will start r ## Configuration -You can add configuration argument when calling Keppler. +You can add configuration arguments when calling Keppler. ``` keppler "My project" --debug 0 --port 1234 --exclude "node_modules/**" --open true --test true --initial-send true --max-file-size 99999 ``` -or with shortcuts +Same arguments using shortcuts ``` keppler "My project" -d 0 -p 1234 -e "node_modules/**" -oti -m 99999 @@ -59,16 +59,61 @@ keppler "My project" -d 0 -p 1234 -e "node_modules/**" -oti -m 99999 Arguments list -|name|shortcut|default value|description| -|---|---|---|---| -|`--debug`|`-d`|*(number)*`1`|Debug level
`0`: almost no log
`1`: primary logs
`2`: too much logs| -|`--name`|`-n`|*(string)*`No name`|Project name
(you can simply add a string after `keppler` keyword like `keppler "My project"`)| -|`--port`|`-p`|*(number)*`1571`|Server port| -|`--exclude`|`-e`|*(string)*`**/.DS_Store,node_modules/**,vendor/**,.git`|Files to exclude| -|`--open`|`-o`|*(bool)*`true`|Open in default browser| -|`--test`|`-t`|*(bool)*`false`|Start a test project with testing contents| -|`--initial-send`|`-i`|*(bool)*`false`|Send current files in the folder at start| -|`--max-file-size`|`-m`|*(number)*`99999`|Maximum file size in octets| +||| +|---|---| +|parameter|`--debug`| +|shortcut|`--d`| +|default value|*(number)*`1`| +|description|Debug level
`0`: almost no log
`1`: primary logs
`2`: too much logs| + +||| +|---|---| +|parameter|`--name`| +|shortcut|`-n`| +|default value|*(string)*`No name`| +|description|Project name
(you can simply add a string after `keppler` keyword like `keppler "My project"`)| + +||| +|---|---| +|parameter|`--port`| +|shortcut|`-p`| +|default value|*(number)*`1571`| +|description|Server port| + +||| +|---|---| +|parameter|`--exclude`| +|shortcut|`-e`| +|default value|*(string)*`**/.DS_Store,node_modules/**,vendor/**,.git`| +|description|List of paths to exclude seperated with commas with wildcards support| + +||| +|---|---| +|parameter|`--open`| +|shortcut|`-o`| +|default value|*(bool)*`true`| +|description|Open Keppler in default browser| + +||| +|---|---| +|parameter|`--test`| +|shortcut|`-t`| +|default value|*(bool)*`false`| +|description|Start a test project with demo contents
:warning:Should not be used for a real presentation| + +||| +|---|---| +|parameter|`--initial-send`| +|shortcut|`-i`| +|default value|*(bool)*`false`| +|description|Send current files in the folder at start
:warning:To much files may cause issues| + +||| +|---|---| +|parameter|`--max-file-size`| +|shortcut|`-m`| +|default value|*(number)*`99999`| +|description|Maximum file size in octets
(99999 ≈ 100ko)| ## Features