18 lines
510 B
Python
18 lines
510 B
Python
"""Lightweight CLI stub for adapters and governance ops."""
|
|
import argparse
|
|
|
|
def main():
|
|
parser = argparse.ArgumentParser(prog="hopemesh", description="HopeMesh 2.0 skeleton CLI")
|
|
subparsers = parser.add_subparsers(dest="cmd", required=False)
|
|
|
|
parser.add_argument("--version", action="store_true", help="Show version")
|
|
|
|
args = parser.parse_args()
|
|
if args.version:
|
|
print("hopemesh-sdk 0.1.0")
|
|
elif not args.cmd:
|
|
parser.print_help()
|
|
|
|
if __name__ == "__main__":
|
|
main()
|