examples/console-client/index.js
function execute(context, action) {
    if (!remote) return fail(context, "Not connected to a server");
    
    // prepare source path
    if (context.args.length < 1) return fail(context, "Remote path missing");
    var path = remote.join(remotePath, context.args[0]);
    action(path);
}
function execute(context, action) {
    if (!remote) return fail(context, "Not connected to a server");
    
    // prepare source path
    if (context.args.length < 1) return fail(context, "Remote path missing");
    var path = remote.join(remotePath, context.args[0]);
    action(path);
}
function execute ( context , action ) { if ( ! remote ) return fail ( context , "Not connected to a server" ) ; // prepare source path
 if ( context . args . length < 1 ) return fail ( context , "Remote path missing" ) ; var path = remote . join ( remotePath , context . args [ 0 ] ) ; action ( path ) ; }
execute a simple action on a remote path
execute a simple action on a remote path