Skip to content

Commit 82040fa

Browse files
committed
Split command line to a new project upnpserver-cli
1 parent ca1e420 commit 82040fa

File tree

3 files changed

+3
-147
lines changed

3 files changed

+3
-147
lines changed

README.md

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -16,35 +16,9 @@ This version does not need an external database (mysql, mongodb), it stores all
1616

1717
$ npm install upnpserver
1818

19-
## Help
19+
## Command line
2020

21-
```
22-
$ nodejs server.js --help
23-
24-
Usage: server.js [options]
25-
26-
Options:
27-
28-
-h, --help output usage information
29-
-V, --version output the version number
30-
-d, --directory <path> Mount directory
31-
-m, --music <path> Mount music directory
32-
-n, --name <name> Name of server
33-
-u, --uuid <uuid> UUID of server
34-
--dlna Enable dlna support
35-
--lang <lang> Specify language (en, fr)
36-
-p, --httpPort <port> Http port
37-
38-
```
39-
40-
## Example
41-
42-
```
43-
44-
$ nodejs server.js -d /MyFilms=/data/MyFilms -d /PublicVideo=/home/me/videos -m /Musiques=/home/Musiques -n "My server"
45-
46-
```
47-
21+
For command line, install [upnpserver-cli](https://github.com/oeuillot/upnpserver-cli) package.
4822

4923
## API Usage
5024

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
22
"name": "upnpserver",
3-
"version": "1.1.6",
3+
"version": "1.2.0",
44
"description": "Simple Upnpserver server",
55
"main": "api.js",
6-
"bin": "./server.js",
76
"repository": {
87
"type": "git",
98
"url": "git@github.com:oeuillot/upnpserver.git"
@@ -24,7 +23,6 @@
2423
"send": "0.3",
2524
"underscore": "1.6",
2625
"async": "0.8",
27-
"commander": "2.2",
2826
"ip": "0.3"
2927
},
3028
"devDependecies": {

server.js

Lines changed: 0 additions & 116 deletions
This file was deleted.

0 commit comments

Comments
 (0)