]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/blobdiff - cli/surfer.js
Bump version
[perso/Immae/Projets/Nodejs/Surfer.git] / cli / surfer.js
index ef3ed9119eaef8b74d2c3b747b31bd58c8ced4cc..65773e30dad6b7d6ac09fe8b87b3de0d170d9d9f 100755 (executable)
@@ -9,18 +9,20 @@ program.version(require('../package.json').version);
 
 program.command('login <url>')
     .description('Login to server')
+    .option('--username [username]', 'Username (optional)')
+    .option('--password [password]', 'Password (optional)')
     .action(actions.login);
 
 program.command('logout')
     .description('Logout from server')
     .action(actions.logout);
 
-program.command('put <file> [files...]')
+program.command('put <file|dir> [files...]')
     .option('-a --all', 'Also include hidden files and folders.', false)
     .description('Put a file, last argument is destination if provided')
     .action(actions.put);
 
-program.command('get [file]')
+program.command('get [file|dir]')
     .description('Get a file or directory listing')
     .action(actions.get);