Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Initial work

  • Loading branch information...
commit a3b7348a1c782e683aa2aa7629469facffb534a5 0 parents
@craigmaloney authored
Showing with 16 additions and 0 deletions.
  1. +11 −0 command_moment.py
  2. +5 −0 commands.json
11 command_moment.py
@@ -0,0 +1,11 @@
+import random
+
+import json
+
+class CommandList:
+ def __init__(self):
+ self.commands = []
+
+ def load_commands(self):
+ file = open('./commands.json', 'r')
+ self.commands = json.load(file)
5 commands.json
@@ -0,0 +1,5 @@
+{
+ "ls":1,
+ "mv":1,
+ "cp":1
+}
Please sign in to comment.
Something went wrong with that request. Please try again.