mirror of
https://github.com/caelestia-dots/cli.git
synced 2026-06-06 07:19:29 -05:00
13 lines
280 B
Python
13 lines
280 B
Python
from caelestia.parser import parse_args
|
|
from caelestia.utils.version import print_version
|
|
|
|
|
|
def main() -> None:
|
|
parser, args = parse_args()
|
|
if args.version:
|
|
print_version()
|
|
elif "cls" in args:
|
|
args.cls(args).run()
|
|
else:
|
|
parser.print_help()
|