github coderaiser/cloudcmd v11.8.0
cloudcmd v11.8.0

latest releases: v18.3.0, v18.2.1, v18.2.0...
6 years ago

Dropbox

Dropbox support integrated into Cloud Commander and you can switch from local file system to a dropbox account 🎉.
All you need to do is set --dropbox option and generate dropbox token for you account.

This can look like this:

cloudcmd --dropbox --dropbox-token your-dropbox-token

Using dropbox remember that there is no remote support of a console and terminal. Progress of file operation also not supported. There is only basic support, but you can do next things with files and directories:

  • create
  • remove
  • rename/move
  • view
  • edit

To implement this feature next modules had to be written:

and they can be reused for any interactions with files on dropbox :)

Besides this a couple system modules was written, which simplify development significantly:

  • serve-once - serve express middleware once;
    it is the simplest way to create new http server with your middleware, send request, receive response, and close connection:
const middleware = () => (req, res) => {
    res.end('hello');
};

const {request} = require('serve-once')(middleware);

await request('get', '/');
// returns
'hello'
  • try-to-tape - wrap tape async functions and show error on reject; if you had situation when your tape assertion crashes without warning while using async-await functions you can use this module to see what actually happened :).

That is all for today, if you find bugs create an issue or send pull request with fix 🙂.

fix

  • (dialog) noFiles: reject on close

feature

  • (package) add dropbox support
  • (server) add graceful shutdown
  • (package) sinon-called-with-diff v3.0.0

Don't miss a new cloudcmd release

NewReleases is sending notifications on new releases.