]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/blobdiff - cli/surfer.js
Add cli logout command
[perso/Immae/Projets/Nodejs/Surfer.git] / cli / surfer.js
index 46e5ba579e65044f73e9a3dae782bae08772f3b7..ef3ed9119eaef8b74d2c3b747b31bd58c8ced4cc 100755 (executable)
@@ -11,6 +11,10 @@ program.command('login <url>')
     .description('Login to server')
     .action(actions.login);
 
+program.command('logout')
+    .description('Logout from server')
+    .action(actions.logout);
+
 program.command('put <file> [files...]')
     .option('-a --all', 'Also include hidden files and folders.', false)
     .description('Put a file, last argument is destination if provided')