{"id":20845400,"url":"https://github.com/anyflowlabs/anyflow-cli","last_synced_at":"2026-03-16T09:03:49.393Z","repository":{"id":258395158,"uuid":"852489856","full_name":"AnyFlowLabs/anyflow-cli","owner":"AnyFlowLabs","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-27T02:13:40.000Z","size":228,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-27T03:23:03.980Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AnyFlowLabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"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":"2024-09-04T22:33:53.000Z","updated_at":"2025-03-26T18:30:07.000Z","dependencies_parsed_at":"2024-12-01T23:30:17.110Z","dependency_job_id":"e14fe807-928e-42a1-8831-df88848c3220","html_url":"https://github.com/AnyFlowLabs/anyflow-cli","commit_stats":null,"previous_names":["anyflowlabs/anyflow-cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnyFlowLabs%2Fanyflow-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnyFlowLabs%2Fanyflow-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnyFlowLabs%2Fanyflow-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnyFlowLabs%2Fanyflow-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnyFlowLabs","download_url":"https://codeload.github.com/AnyFlowLabs/anyflow-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249145961,"owners_count":21220066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-18T02:12:49.542Z","updated_at":"2026-03-16T09:03:49.322Z","avatar_url":"https://github.com/AnyFlowLabs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AnyFlow CLI\n\nThe official command-line interface for AnyFlow operations. This CLI allows you to interact with the AnyFlow ecosystem, deploy smart contracts, and manage your projects.\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [First Use and Authentication](#first-use-and-authentication)\n- [Commands](#commands)\n- [Configuration](#configuration)\n- [New Features](#new-features)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Installation\n\n```bash\nnpm install -g anyflow-cli\n```\n\n## Usage\n\nAfter installation, you can use the CLI with the `anyflow` command:\n\n```bash\nanyflow [command] [options]\n```\n\n## First Use and Authentication\n\nTo get started with the AnyFlow CLI, you'll need to authenticate your session. Follow these steps:\n\n1. **Initialize Your Project**: If you are starting a new project, navigate to your project directory:\n\n   ```bash\n   mkdir my-anyflow-project\n   cd my-anyflow-project\n   ```\n\n2. **Run the Init Command**: This command will create the necessary environment variables:\n\n   ```bash\n   anyflow init\n   ```\n\n3. **Run the Install Command**: This will update your `hardhat.config.js` with the necessary configuration:\n\n   ```bash\n   anyflow install\n   ```\n\n4. **Authenticate**: Run the following command to authenticate your session:\n\n   ```bash\n   anyflow auth\n   ```\n\n   This command will prompt you for your API key and may attempt to open your browser. Enter your API key when prompted to complete the authentication process.\n\n5. **Verify Authentication**: After successful authentication, you can verify that you are logged in by running:\n\n   ```bash\n   anyflow check-auth\n   ```\n\n   If you see a confirmation message, you are successfully authenticated and ready to use the CLI.\n\n## Commands\n\n### `anyflow \u003ccommand\u003e`\n\nAvailable commands:\n\n- `help`: Show help information for AnyFlow CLI.\n- `init`: Create the necessary environment variables.\n- `install`: Update your `hardhat.config.js` with the necessary configuration.\n- `auth`: Authenticate your session with AnyFlow.\n- `check-auth`: Check your authentication status.\n- `deploy`: Upload your artifacts to the AnyFlow platform and deploy your project.\n  - `--networks \u003cnetwork...\u003e`: Specify networks to deploy to\n  - `--deterministic-addresses` or `-da`: Use deterministic addresses\n- `logout`: Clear your authentication credentials.\n- `fix`: Fix failed deployments.\n- `version:check`: Check for newer versions of the CLI.\n\n## Configuration\n\nThe CLI can be configured through environment variables. You can create a `.env` file in your project root with the following variables:\n\n```\n# API Configuration\nAPI_URL=https://api.anyflow.pro\n\n# Bugsnag Error Reporting (only active in production)\nBUGSNAG_API_KEY=your_bugsnag_key\n\n# Node Environment\nNODE_ENV=development\n```\n\n## New Features\n\n### Version Checking\n\nThe CLI now automatically checks for updates when running commands. If a new version is available, it will notify you. You can also manually check for updates:\n\n```bash\nanyflow version:check\n```\n\n### Error Reporting\n\nThe CLI now includes error reporting via Bugsnag to help us identify and fix issues faster. This is only active in production environments and doesn't collect any sensitive data.\n\n### Improved Logging\n\nThe CLI now has improved logging with color-coded output and different log levels:\n\n- DEBUG: Detailed debugging information\n- INFO: General operational information\n- SUCCESS: Successful operations\n- WARNING: Potential issues that don't prevent operation\n- ERROR: Error conditions\n\n### Environment Validation\n\nThe CLI now validates environment variables to prevent runtime errors due to missing or invalid configuration.\n\n## Contributing\n\nWe welcome contributions to the AnyFlow CLI! Please see the [CONTRIBUTING.md](CONTRIBUTING.md) file for details on how to contribute.\n\n## License\n\nThis project is licensed under the ISC License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanyflowlabs%2Fanyflow-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanyflowlabs%2Fanyflow-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanyflowlabs%2Fanyflow-cli/lists"}