Stable cli interface after installing
This commit is contained in:
parent
8f8dd74c14
commit
b3fa52c8cb
@ -1,6 +1,6 @@
|
|||||||
[build-system]
|
[build-system]
|
||||||
requires = ["setuptools>=61.0"]
|
requires = ["hatchling"]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "tvms"
|
name = "tvms"
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
#!/usr/bin/env python3
|
|
||||||
|
|
||||||
import random
|
import random
|
||||||
import os
|
import os
|
||||||
|
|
||||||
@ -54,7 +52,3 @@ def random_table(rtype, seed, prec, min, max, cols, docx, py, count):
|
|||||||
n += 1
|
n += 1
|
||||||
|
|
||||||
document.save(docx)
|
document.save(docx)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
cli()
|
|
||||||
|
|||||||
6
tvms/__main__.py
Normal file
6
tvms/__main__.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
from tvms import cli
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
cli()
|
||||||
Reference in New Issue
Block a user