from __future__ import annotations
import sys
def main() -> None:
if len(sys.argv) < 2:
print("Usage: python3 codegen/fetch_specs.py <service>")
sys.exit(1)
service = sys.argv[1]
print(f"Azure REST specs for '{service}' are available at:")
print(f" https://learn.microsoft.com/en-us/rest/api/{service}/")
print("")
print("ARM REST specs on GitHub:")
print(f" https://github.com/Azure/azure-rest-api-specs/tree/main/specification/{service}")
print("")
print("For cloud-lite, manifests are hand-crafted from the documentation.")
print(f"Run: python3 codegen/bootstrap.py {service}")
if __name__ == "__main__":
main()