Browse Source

added the start of class

Sam Flint 10 years ago
parent
commit
8e3b27fbfc
1 changed files with 18 additions and 3 deletions
  1. 18 3
      rulesorganizer.py

+ 18 - 3
rulesorganizer.py

@@ -1,6 +1,21 @@
 #!/usr/bin/python
 
-import sys, os
-import json
-import re
+class filerules():
+   import sys, os
+   import json
+   import re
 
+   def __init__(self, rulesfile):
+      ...
+
+   def looprules(self):
+      ...
+
+   def runrule(self, rule):
+      ...
+
+   def addrule(self, name, directory, action):
+      ...
+
+   def move(self, rule):
+      ...