]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/blobdiff - cli/surfer.js
Use 222 status code to indicate folder listing and use stdout only for data
[perso/Immae/Projets/Nodejs/Surfer.git] / cli / surfer.js
index fbc95b6f8f962d228562d8860250132bb071ab0c..ad37917d3eb74793c3be1016a63e6aece89cdf30 100755 (executable)
@@ -10,7 +10,7 @@ process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
 
 program.version('0.1.0');
 
-program.command('login')
+program.command('login <url>')
     .description('Login to server')
     .action(actions.login);
 
@@ -19,7 +19,7 @@ program.command('put <file> [files...]')
     .description('Put a file')
     .action(actions.put);
 
-program.command('get')
+program.command('get [file]')
     .description('Get a file or directory')
     .action(actions.get);