initialized as project working now
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
# src/commands.py
|
||||
import os
|
||||
|
||||
def test():
|
||||
print("hello from test")
|
||||
|
||||
# Read variables
|
||||
|
||||
# Initialize a challenge
|
||||
|
||||
@@ -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__":
|
||||
|
||||
Reference in New Issue
Block a user