1- #node-cmd
1+ # node-cmd
22-
33* Node.js commandline/terminal interface.*
44
@@ -25,7 +25,7 @@ Package details websites :
2525This work is licenced via the [ DBAD Public Licence] ( http://www.dbad-license.org/ ) .
2626
2727
28- #Methods
28+ # Methods
2929-
3030
3131| method | arguments | functionality |
@@ -34,7 +34,7 @@ This work is licenced via the [DBAD Public Licence](http://www.dbad-license.org/
3434| get | command,callback | runs a command asynchronously, when the command is complete all of the stdout will be passed to the callback|
3535
3636
37- #Examples
37+ # Examples
3838-
3939
4040``` javascript
@@ -43,7 +43,7 @@ This work is licenced via the [DBAD Public Licence](http://www.dbad-license.org/
4343
4444 cmd .get (
4545 ' pwd' ,
46- function (data ){
46+ function (err , data , stderr ){
4747 console .log (' the current working dir is : ' ,data)
4848 }
4949 );
@@ -52,7 +52,7 @@ This work is licenced via the [DBAD Public Licence](http://www.dbad-license.org/
5252
5353 cmd .get (
5454 ' ls' ,
55- function (data ){
55+ function (err , data , stderr ){
5656 console .log (' the current dir contains these files :\n\n ' ,data)
5757 }
5858 );
@@ -63,7 +63,7 @@ This work is licenced via the [DBAD Public Licence](http://www.dbad-license.org/
6363 cd node-cmd
6464 ls
6565 ` ,
66- function (data , err , stderr ){
66+ function (err , data , stderr ){
6767 if (! err) {
6868 console .log (' the node-cmd cloned dir contains these files :\n\n ' ,data)
6969 } else {
0 commit comments