initialized as project working now

This commit is contained in:
venus
2026-04-05 23:21:33 -05:00
parent a70694dbd5
commit 7e88b51db6
3 changed files with 19 additions and 0 deletions

View File

@@ -5,3 +5,15 @@ description = "An AI enhanced CTF toolchain"
readme = "README.md"
requires-python = ">=3.14"
dependencies = []
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project.scripts]
ctf = "ctf.main:main"
[tool.hatch.build.targets.wheel]
packages = ["src/ctf"]
extraPaths = ["src"]

View File

@@ -2,6 +2,9 @@
# src/commands.py
import os
def test():
print("hello from test")
# Read variables
# Initialize a challenge

View File

@@ -1,7 +1,11 @@
# src/main.py
# Parses and calls commands
import argparse
from ctf import commands
def main():
print("Hello from ctf!")
commands.test()
if __name__ == "__main__":