add command line entrypoint
This commit is contained in:
parent
516a4abb85
commit
1ab51646b9
@ -20,6 +20,9 @@ dependencies = [
|
||||
"frozendict",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
qubed = "qubed.__main__:main"
|
||||
|
||||
[tool.maturin]
|
||||
python-source = "src/python"
|
||||
module-name = "qubed.rust"
|
||||
|
@ -29,6 +29,7 @@ def main():
|
||||
# Read from standard input
|
||||
l = 0
|
||||
for line in sys.stdin.readlines():
|
||||
l += 1
|
||||
|
||||
|
||||
# Process data (For now, just echoing the input)
|
||||
|
Loading…
x
Reference in New Issue
Block a user