📝 Readme > Add arguments and update features
This commit is contained in:
+2
-2
@@ -71,7 +71,7 @@ class App
|
|||||||
})
|
})
|
||||||
.option('port', {
|
.option('port', {
|
||||||
alias: 'p',
|
alias: 'p',
|
||||||
describe: 'Port to use',
|
describe: 'Server port',
|
||||||
default: 1571,
|
default: 1571,
|
||||||
type: 'number'
|
type: 'number'
|
||||||
})
|
})
|
||||||
@@ -101,7 +101,7 @@ class App
|
|||||||
})
|
})
|
||||||
.option('initial-send', {
|
.option('initial-send', {
|
||||||
alias: 'i',
|
alias: 'i',
|
||||||
describe: 'Send current file in folder immediately',
|
describe: 'Send files in folder at start',
|
||||||
default: false,
|
default: false,
|
||||||
type: 'boolean'
|
type: 'boolean'
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
An efficient way to share your code while presenting
|
An efficient way to share your code while presenting
|
||||||
|
|
||||||
### What is keppler
|
## What is keppler
|
||||||
|
|
||||||
Keppler lets you share your code during a presentation.
|
Keppler lets you share your code during a presentation.
|
||||||
|
|
||||||
@@ -12,20 +12,21 @@ Keppler is easy to install and works with NodeJS.
|
|||||||
|
|
||||||
<img width="600" height="374" src="https://github.com/brunosimon/keppler/raw/master/resources/screenshots/screen-project-2.png" alt="Keppler screen">
|
<img width="600" height="374" src="https://github.com/brunosimon/keppler/raw/master/resources/screenshots/screen-project-2.png" alt="Keppler screen">
|
||||||
|
|
||||||
### Instructions
|
## Instructions
|
||||||
|
|
||||||
|
#### Requirements
|
||||||
|
|
||||||
**Requirements**
|
|
||||||
* [NodeJS](https://nodejs.org/en/) installed
|
* [NodeJS](https://nodejs.org/en/) installed
|
||||||
* Keppler installed globally
|
* Keppler installed globally
|
||||||
* Viewers connected to the same network
|
* Viewers connected to the same network
|
||||||
|
|
||||||
**Install Keppler globally**
|
#### Install Keppler globally
|
||||||
|
|
||||||
```
|
```
|
||||||
npm install -g keppler
|
npm install -g keppler
|
||||||
```
|
```
|
||||||
|
|
||||||
**Start Keppler inside the project folder**
|
#### Start Keppler inside the project folder
|
||||||
|
|
||||||
```
|
```
|
||||||
cd ./my-awesome-project
|
cd ./my-awesome-project
|
||||||
@@ -34,32 +35,58 @@ keppler "My awesome project"
|
|||||||
|
|
||||||
Share the URL that should appear with the viewers.
|
Share the URL that should appear with the viewers.
|
||||||
|
|
||||||
### Current features
|
#### config
|
||||||
|
|
||||||
|
You can add configuration argument 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
|
||||||
|
|
||||||
|
```
|
||||||
|
keppler "My project" -d 0 -p 1234 -e "node_modules/**" -oti -m 99999
|
||||||
|
```
|
||||||
|
|
||||||
|
Arguments list
|
||||||
|
|
||||||
|
|name|shortcut|default value|description|
|
||||||
|
|---|---|---|---|
|
||||||
|
|<span style="white-space:nowrap">`--debug`</span>|`-d`|*(number)*`1`|Debug level (`0`: almost no log, `1`: some logs, `2`: many logs)|
|
||||||
|
|<span style="white-space:nowrap">`--name`</span>|`-n`|*(string)*`No name`|Project name (you can simply add a string after `keppler` keyword like `keppler "My project"`)|
|
||||||
|
|<span style="white-space:nowrap">`--port`</span>|`-p`|*(number)*`1571`|Server port|
|
||||||
|
|<span style="white-space:nowrap">`--exclude`</span>|`-e`|*(string)*`**/.DS_Store,node_modules/**,vendor/**,.git`|Files to exclude|
|
||||||
|
|<span style="white-space:nowrap">`--open`</span>|`-o`|*(bool)*`true`|Open in default browser|
|
||||||
|
|<span style="white-space:nowrap">`--test`</span>|`-t`|*(bool)*`false`|Start a test project|
|
||||||
|
|<span style="white-space:nowrap">`--initial-send`</span>|`-i`|*(bool)*`false`|Send files in folder at start|
|
||||||
|
|<span style="white-space:nowrap">`--max-file-size`</span>|`-i`|*(number)*`99999`|Maximum file size in octets|
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Work in any modern browser
|
||||||
- Files tree
|
- Files tree
|
||||||
- File history/versions
|
- File history/versions
|
||||||
- File versions differences
|
- File versions differences
|
||||||
- Easy copy
|
- Easy copy
|
||||||
- Accessible by anyone on the same network
|
- Accessible by anyone on the same network
|
||||||
- App like design
|
- App like design
|
||||||
|
- Syntax coloring
|
||||||
- Multiple projects in one Keppler instance
|
- Multiple projects in one Keppler instance
|
||||||
|
|
||||||
### Futur features
|
## Futur features
|
||||||
|
|
||||||
|
- Chat with possibility to associate messages with lines and files
|
||||||
- Log project URL and open in default browser
|
- Log project URL and open in default browser
|
||||||
- Download file button
|
- Download file button
|
||||||
- 404
|
- Download project button
|
||||||
- Config file
|
|
||||||
- Keyboard navigation
|
- Keyboard navigation
|
||||||
- In app notifications
|
- In app notifications
|
||||||
- Browser notifications
|
- Browser notifications
|
||||||
- Toggle folder
|
- Toggle folder
|
||||||
- Retractable sidebar
|
- Retractable sidebar
|
||||||
- File searching/filtering
|
- File searching/filtering
|
||||||
- Project history
|
|
||||||
- Tooltips
|
- Tooltips
|
||||||
- Open multiple files
|
|
||||||
- Unit testing
|
|
||||||
- Tablet compatible
|
- Tablet compatible
|
||||||
- Angular 2 or React
|
- Vue.js
|
||||||
- Font-size control
|
- Font-size control
|
||||||
- Theme control
|
|
||||||
|
|||||||
Reference in New Issue
Block a user