X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=cli%2Fsurfer.js;h=ef3ed9119eaef8b74d2c3b747b31bd58c8ced4cc;hb=ba93623cc0d9a2147856a1ae1835b146fb160c94;hp=46e5ba579e65044f73e9a3dae782bae08772f3b7;hpb=8fa082298cfbfd96eaa029d6e60ff5fd8ce65252;p=perso%2FImmae%2FProjets%2FNodejs%2FSurfer.git diff --git a/cli/surfer.js b/cli/surfer.js index 46e5ba5..ef3ed91 100755 --- a/cli/surfer.js +++ b/cli/surfer.js @@ -11,6 +11,10 @@ program.command('login ') .description('Login to server') .action(actions.login); +program.command('logout') + .description('Logout from server') + .action(actions.logout); + program.command('put [files...]') .option('-a --all', 'Also include hidden files and folders.', false) .description('Put a file, last argument is destination if provided')