24 lines
510 B
Python
Executable File
24 lines
510 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""Compatibility wrapper for `bootstrap cli smoke-test`."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import argparse
|
|
|
|
from cli import cmd_smoke_test
|
|
|
|
|
|
def main() -> int:
|
|
parser = argparse.ArgumentParser(description=__doc__)
|
|
parser.add_argument(
|
|
"--keep",
|
|
action="store_true",
|
|
help="Keep the temp directory instead of deleting it.",
|
|
)
|
|
args = parser.parse_args()
|
|
return cmd_smoke_test(args)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
raise SystemExit(main())
|