]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/blobdiff - surfer.js
Support recursive put
[perso/Immae/Projets/Nodejs/Surfer.git] / surfer.js
diff --git a/surfer.js b/surfer.js
deleted file mode 100755 (executable)
index 703fc59..0000000
--- a/surfer.js
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/usr/bin/env node
-
-'use strict';
-
-var program = require('commander'),
-    actions = require('./src/actions');
-
-// Allow self signed certs!
-process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
-
-program.version('0.1.0');
-
-program.command('put')
-    .description('Put a file')
-    .action(actions.put);
-
-program.command('get')
-    .description('Get a file or directory')
-    .action(actions.get);
-
-program.command('del')
-    .description('Delete a file')
-    .action(actions.del);
-
-program.parse(process.argv);