]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/blobdiff - cli/surfer.js
Do not include hidden folders by default
[perso/Immae/Projets/Nodejs/Surfer.git] / cli / surfer.js
index fbc95b6f8f962d228562d8860250132bb071ab0c..8920641896cafd986fb0e1880ee72e50154f091e 100755 (executable)
@@ -10,16 +10,17 @@ 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);
 
 program.command('put <file> [files...]')
     .option('-d --destination <folder>', 'Destination folder. This is prepended to the relative <file> path')
+    .option('-a --all', 'Also include hidden files and folders.', false)
     .description('Put a file')
     .action(actions.put);
 
-program.command('get')
+program.command('get [file]')
     .description('Get a file or directory')
     .action(actions.get);