{"id":19273922,"url":"https://github.com/rintoj/hypergraph-cli","last_synced_at":"2026-03-01T20:33:52.882Z","repository":{"id":181926396,"uuid":"662435986","full_name":"rintoj/hypergraph-cli","owner":"rintoj","description":"Command line interface package for hypergraph project","archived":false,"fork":false,"pushed_at":"2025-11-27T07:13:24.000Z","size":967,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-02T22:40:21.625Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rintoj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-05T06:19:37.000Z","updated_at":"2025-11-27T07:13:26.000Z","dependencies_parsed_at":"2023-07-18T05:11:09.860Z","dependency_job_id":"b9a9082d-a440-4453-8c23-30162355c917","html_url":"https://github.com/rintoj/hypergraph-cli","commit_stats":null,"previous_names":["rintoj/hypergraph-cli"],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/rintoj/hypergraph-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rintoj%2Fhypergraph-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rintoj%2Fhypergraph-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rintoj%2Fhypergraph-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rintoj%2Fhypergraph-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rintoj","download_url":"https://codeload.github.com/rintoj/hypergraph-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rintoj%2Fhypergraph-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29983206,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T16:35:47.903Z","status":"ssl_error","status_checked_at":"2026-03-01T16:35:44.899Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T20:44:29.918Z","updated_at":"2026-03-01T20:33:52.837Z","avatar_url":"https://github.com/rintoj.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hypergraph CLI\n\n`hypergraph` is a command-line interface (CLI) tool designed to facilitate various tasks related to project management and deployment using the Hypergraph platform. Below is a comprehensive guide outlining available commands and their options.\n\n## Install\n\nUsing npm:\n\n```sh\nnpm install @hgraph/cli -g\n```\n\n## Usage\n\n```sh\nhypergraph \u003cauth|build|checkout|collaborator|config|create|deploy|gcloud|generate|project|save\u003e [--help] [--doc]\n```\n\n### Commands\n\n- `auth`: Commands for managing authentication and access.\n- `build`: Build a project.\n- `checkout`: Checkout a project.\n- `collaborator`: Administer project collaborators and permissions.\n- `config`: View or update configuration.\n- `create`: Create a package and other resources.\n- `deploy`: Deploy a project.\n- `gcloud`: Configure and install tools for Google Cloud.\n- `generate`: Generate project models and resolvers using AI.\n- `project`: Manage your projects.\n- `save`: Save a source file to a given project.\n\n## hypergraph auth\n\nCommands for managing authentication and access.\n\n### `hypergraph auth login`\n\nAccess your Hypergraph account by logging in.\n\n```sh\nhypergraph auth login [--provider=\u003cGOOGLE|GITHUB\u003e]\n```\n\nOptions:\n- `--provider=\u003cGOOGLE|GITHUB\u003e`: Authenticate using Google or Github credentials.\n\n### `hypergraph auth logout`\n\nSign out of your account.\n\n```sh\nhypergraph auth logout\n```\n\n### `hypergraph auth user`\n\nDisplay information of the currently logged-in user.\n\n```sh\nhypergraph auth user\n```\n\n## hypergraph build\n\nBuild a project.\n\n```sh\nhypergraph build --environment=\u003cstring\u003e [--api=\u003cstring\u003e] [--db-port=\u003cnumber\u003e] [--clean]\n```\n\nOptions:\n- `--environment=\u003cstring\u003e` (Required): Specify the project environment.\n- `--api=\u003cstring\u003e`: List all API services in the format \"name:port\" for local exposure.\n- `--db-port=\u003cnumber\u003e`: Expose the database through a specified port, if defined.\n- `--clean`: Perform a clean build by removing previous environments, cache, and config.\n\n## hypergraph checkout\n\nCheckout a project.\n\n```sh\nhypergraph checkout [--project-id=\u003cstring\u003e] [--skip-cache]\n```\n\nOptions:\n- `--project-id=\u003cstring\u003e`: Specify the ID of the project to checkout.\n- `--skip-cache`: Disable cache (enabled by default).\n\n## hypergraph collaborator\n\nAdminister project collaborators and permissions.\n\n### `hypergraph collaborator add`\n\nAdd a collaborator to the project.\n\n```sh\nhypergraph collaborator add [--project-id=\u003cstring\u003e]\n```\n\nOptions:\n- `--project-id=\u003cstring\u003e`: Specify the ID of the project.\n\n### `hypergraph collaborator list`\n\nDisplay contributors within a project.\n\n```sh\nhypergraph collaborator list [--project-id=\u003cstring\u003e]\n```\n\nOptions:\n- `--project-id=\u003cstring\u003e`: Project ID.\n\n### `hypergraph collaborator remove`\n\nRemove a collaborator from the project.\n\n```sh\nhypergraph collaborator remove [--project-id=\u003cstring\u003e]\n```\n\nOptions:\n- `--project-id=\u003cstring\u003e`: Project ID.\n\n## hypergraph config\n\nView or update configuration.\n\n### `hypergraph config remote`\n\nView or update remote server URL.\n\n```sh\nhypergraph config remote [url]\n```\n\nArguments:\n- `url`: Server URL.\n\n## hypergraph create\n\nCreate a package and other resources.\n\n### `hypergraph create package`\n\nCreate a package.\n\n```sh\nhypergraph create package [name]\n```\n\nArguments:\n- `name`: Name of the package.\n\n## hypergraph deploy\n\nDeploy a project.\n\n```sh\nhypergraph deploy --environment=\u003cstring\u003e [--create] [--clean]\n```\n\nOptions:\n- `--environment=\u003cstring\u003e` (Required): Specify the deployment environment.\n- `--create`: Create missing resources like cluster, container registry, and certificates as needed.\n- `--clean`: Perform a clean build by removing previous environments, cache, and config.\n\n## hypergraph gcloud\n\nConfigure and install tools for Google Cloud.\n\n### `hypergraph gcloud setup`\n\nConfigure the Google Cloud environment.\n\n```sh\nhypergraph gcloud setup --environment=\u003cstring\u003e\n```\n\nOptions:\n- `--environment=\u003cstring\u003e` (Required): Select the target environment.\n\n### `hypergraph gcloud install`\n\nInstall all required libraries for Google Cloud.\n\n```sh\nhypergraph gcloud install --environment=\u003cstring\u003e\n```\n\nOptions:\n- `--environment=\u003cstring\u003e` (Required): Specify the target environment.\n\n## hypergraph generate\n\nGenerate project models and resolvers using AI.\n\n```sh\nhypergraph generate [--project-id=\u003cstring\u003e]\n```\n\nOptions:\n- `--project-id=\u003cstring\u003e`: Specify the ID of the project.\n\n## hypergraph project\n\nManage your projects.\n\n### `hypergraph project create`\n\nCreate a project.\n\n```sh\nhypergraph project create [project-name]\n```\n\nArguments:\n- `project-name`: Name of the project.\n\n### `hypergraph project list`\n\nList all projects.\n\n```sh\nhypergraph project list\n```\n\n### `hypergraph project remove`\n\nRemove a project.\n\n```sh\nhypergraph project remove [--project-id=\u003cstring\u003e]\n```\n\nOptions:\n- `--project-id=\u003cstring\u003e`: ID of the project to be removed.\n\n## hypergraph save\n\nSave a source file to a given project.\n\n```sh\nhypergraph save \u003csource-file\u003e [--project-id=\u003cstring\u003e]\n```\n\nArguments:\n- `source-file`: Source file(s) to upload. You may use glob patterns.\n\nOptions:\n- `--project-id=\u003cstring\u003e`: Project ID in Hypergraph.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frintoj%2Fhypergraph-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frintoj%2Fhypergraph-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frintoj%2Fhypergraph-cli/lists"}