summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2010-12-23 22:52:46 +0000
committerwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2010-12-23 22:52:46 +0000
commit9222de5608c7884665ad714519e2ddc7445c30e1 (patch)
treeb8db2a65ec7002664b89251a7b8cb8374416e49b
parent0161a79683c74a5cd316a0bab80434cbe7b25ccd (diff)
downloadpyfilesystem-9222de5608c7884665ad714519e2ddc7445c30e1.tar.gz
Apparently I do these this stubs for the command line apps
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@575 67cdc799-7952-0410-af00-57a81ceafa0f
-rw-r--r--fs/commands/fscat3
-rw-r--r--fs/commands/fscp3
-rw-r--r--fs/commands/fsinfo3
-rw-r--r--fs/commands/fsls3
-rw-r--r--fs/commands/fsmkdir3
-rw-r--r--fs/commands/fsmount3
-rw-r--r--fs/commands/fsmount.py4
-rw-r--r--fs/commands/fsmv3
-rw-r--r--fs/commands/fsrm3
-rw-r--r--fs/commands/fsserve3
-rw-r--r--fs/commands/fstree3
-rw-r--r--setup.py2
12 files changed, 33 insertions, 3 deletions
diff --git a/fs/commands/fscat b/fs/commands/fscat
new file mode 100644
index 0000000..f4605de
--- /dev/null
+++ b/fs/commands/fscat
@@ -0,0 +1,3 @@
+#!/usr/bin/env python
+from fs.commands.fscat import run
+run() \ No newline at end of file
diff --git a/fs/commands/fscp b/fs/commands/fscp
new file mode 100644
index 0000000..c26bfa6
--- /dev/null
+++ b/fs/commands/fscp
@@ -0,0 +1,3 @@
+#!/usr/bin/env python
+from fs.commands.fscp import run
+run() \ No newline at end of file
diff --git a/fs/commands/fsinfo b/fs/commands/fsinfo
new file mode 100644
index 0000000..149c125
--- /dev/null
+++ b/fs/commands/fsinfo
@@ -0,0 +1,3 @@
+#!/usr/bin/env python
+from fs.commands.fsinfo import run
+run() \ No newline at end of file
diff --git a/fs/commands/fsls b/fs/commands/fsls
new file mode 100644
index 0000000..acae239
--- /dev/null
+++ b/fs/commands/fsls
@@ -0,0 +1,3 @@
+#!/usr/bin/env python
+from fs.commands.fsls import run
+run() \ No newline at end of file
diff --git a/fs/commands/fsmkdir b/fs/commands/fsmkdir
new file mode 100644
index 0000000..e0d6ed0
--- /dev/null
+++ b/fs/commands/fsmkdir
@@ -0,0 +1,3 @@
+#!/usr/bin/env python
+from fs.commands.fsmkdir import run
+run() \ No newline at end of file
diff --git a/fs/commands/fsmount b/fs/commands/fsmount
new file mode 100644
index 0000000..2a159d8
--- /dev/null
+++ b/fs/commands/fsmount
@@ -0,0 +1,3 @@
+#!/usr/bin/env python
+from fs.commands.fsmount import run
+run() \ No newline at end of file
diff --git a/fs/commands/fsmount.py b/fs/commands/fsmount.py
index c3a6213..aa9fd7a 100644
--- a/fs/commands/fsmount.py
+++ b/fs/commands/fsmount.py
@@ -51,7 +51,7 @@ Mounts a file system on a system path"""
from fs.expose import dokan
mount_path = mount_path[:1].upper()
- self.output('unmounting %s:\n' % mount_path, True)
+ self.output('unmounting %s:...\n' % mount_path, True)
dokan.unmount(mount_path)
return
@@ -63,7 +63,7 @@ Mounts a file system on a system path"""
return 1
from fs.expose import fuse
- self.output('unmounting %s\n' % mount_path, True)
+ self.output('unmounting %s...\n' % mount_path, True)
fuse.unmount(mount_path)
return
diff --git a/fs/commands/fsmv b/fs/commands/fsmv
new file mode 100644
index 0000000..4838285
--- /dev/null
+++ b/fs/commands/fsmv
@@ -0,0 +1,3 @@
+#!/usr/bin/env python
+from fs.commands.fsmv import run
+run() \ No newline at end of file
diff --git a/fs/commands/fsrm b/fs/commands/fsrm
new file mode 100644
index 0000000..12138e1
--- /dev/null
+++ b/fs/commands/fsrm
@@ -0,0 +1,3 @@
+#!/usr/bin/env python
+from fs.commands.fsrm import run
+run() \ No newline at end of file
diff --git a/fs/commands/fsserve b/fs/commands/fsserve
new file mode 100644
index 0000000..23b3d19
--- /dev/null
+++ b/fs/commands/fsserve
@@ -0,0 +1,3 @@
+#!/usr/bin/env python
+from fs.commands.fsserve import run
+run() \ No newline at end of file
diff --git a/fs/commands/fstree b/fs/commands/fstree
new file mode 100644
index 0000000..ac2c8f6
--- /dev/null
+++ b/fs/commands/fstree
@@ -0,0 +1,3 @@
+#!/usr/bin/env python
+from fs.commands.fstree import run
+run() \ No newline at end of file
diff --git a/setup.py b/setup.py
index 2c4ea90..16c5657 100644
--- a/setup.py
+++ b/setup.py
@@ -53,7 +53,7 @@ setup(name='fs',
'fs.contrib.davfs',
'fs.contrib.tahoefs',
'fs.commands'],
- scripts=['fs/commands/%s.py' % command for command in COMMANDS],
+ scripts=['fs/commands/%s' % command for command in COMMANDS],
classifiers=classifiers,
)