added state options as an object with dict storing to disk
This commit is contained in:
@@ -2,12 +2,11 @@
|
||||
# Parses and calls commands
|
||||
|
||||
import argparse
|
||||
from ctf import commands
|
||||
from ctf import utils
|
||||
from ctf.utils import state
|
||||
state.testVal = 123
|
||||
def main():
|
||||
print("Hello from ctf!")
|
||||
utils.load_config()
|
||||
commands.test()
|
||||
print(f"Stored: {state.testVal}")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user