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