added state options as an object with dict storing to disk

This commit is contained in:
venus
2026-04-06 00:26:43 -05:00
parent b208cc2ddb
commit a74553bd88
4 changed files with 44 additions and 14 deletions

View File

@@ -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__":