import sys
import InventoryLib

def main():
    try:
        result = InventoryLib.ogGetOsVersion(*sys.argv[1:])
        print(result.strip())
    except Exception as e:
        print(f"An error occurred: {e}", file=sys.stderr)
        sys.exit(1)

if __name__ == "__main__":
    main()

