{"_id":"@anyflow-labs/cli","name":"@anyflow-labs/cli","dist-tags":{"latest":"1.0.9"},"versions":{"1.0.9":{"name":"@anyflow-labs/cli","description":"CLI for AnyFlow operations","version":"1.0.9","main":"dist/cli.js","bin":{"anyflow":"dist/cli.js"},"engines":{"node":"^20"},"scripts":{"test":"echo \"Warn: no test specified\" && exit 0","start":"node dist/cli.js help","anyflow":"node dist/cli.js","build:dev":"webpack --env ENV=development","build:staging":"webpack --env ENV=staging","build:prod":"webpack --env ENV=production","publish:dev":"npm run build:dev && npm publish --tag dev","publish:staging":"npm run build:staging && npm publish --tag beta","publish:prod":"npm run build:prod && npm publish --tag latest","lint":"eslint 'src/**/*.{ts,js}'"},"homepage":"http://anyflow.pro","keywords":["anyflowm","web3","web 3","smart-contracts","smart contracts","erc721","erc20","hardhat","deploy","nft","token","solidity","solana","evm"],"author":{"name":"AnyflowLabs"},"license":"ISC","dependencies":{"@types/adm-zip":"^0.5.6","@types/lodash":"^4.17.13","adm-zip":"^0.5.16","async-mutex":"^0.5.0","axios":"^1.7.7","commander":"^12.1.0","dotenv":"^16.4.5","form-data":"^4.0.1","hardhat":"^2.22.14","keytar":"^7.9.0","lodash":"^4.17.21","open":"^10.1.0","pkg-dir":"^8.0.0"},"devDependencies":{"@eslint/compat":"^1.2.4","@eslint/eslintrc":"^3.2.0","@eslint/js":"^9.16.0","@types/mocha":"^10.0.9","@types/node":"^22.5.3","@types/openurl":"^1.0.3","@types/pkg-dir":"^2.0.1","@typescript-eslint/eslint-plugin":"^8.18.0","@typescript-eslint/parser":"^8.18.0","cross-env":"^7.0.3","dotenv-webpack":"^8.1.0","eslint":"^9.16.0","eslint-import-resolver-typescript":"^3.7.0","eslint-plugin-import":"^2.31.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^7.2.1","globals":"^15.13.0","ts-loader":"^9.5.1","ts-node":"^10.9.2","typescript":"^5.6.3","webpack":"^5.97.1","webpack-cli":"^5.1.4"},"_id":"@anyflow-labs/cli@1.0.9","gitHead":"49177d32c1e0ce5f262d4fead3dbf87515640eef","types":"./dist/cli.d.ts","_nodeVersion":"20.15.1","_npmVersion":"10.7.0","dist":{"integrity":"sha512-g56o1sJOUTrS/7ZulhHUZ0h1bgWbKD9sC9BZIQGv619VFVvX3bVnYEPRarL3QR4sqvecQ56LUU/LNU16Hpk2fQ==","shasum":"b1620c2b8f8972ab192c8873d143189ab78aa636","tarball":"https://registry.npmjs.org/@anyflow-labs/cli/-/cli-1.0.9.tgz","fileCount":46,"unpackedSize":2748199,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiqaqBQDwHNVMotcSWflFN/NAsXsbusXxznmQT0IXDZwIhAMSqqIzSVCPHsZF4IYt4qJLnEdU1TGjlhz8MjikmY4Kf"}]},"_npmUser":{"name":"yudikubota","email":"yudikubota@gmail.com"},"directories":{},"maintainers":[{"name":"lucasr29","email":"lrigon29042@gmail.com"},{"name":"anyflow-support","email":"support@anyflow.pro"},{"name":"yudikubota","email":"yudikubota@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_1.0.9_1736194107460_0.10377315395705744"},"_hasShrinkwrap":false}},"time":{"created":"2025-01-06T20:08:27.332Z","1.0.9":"2025-01-06T20:08:27.729Z","modified":"2025-01-06T20:08:28.055Z"},"maintainers":[{"name":"lucasr29","email":"lrigon29042@gmail.com"},{"name":"anyflow-support","email":"support@anyflow.pro"},{"name":"yudikubota","email":"yudikubota@gmail.com"}],"description":"CLI for AnyFlow operations","homepage":"http://anyflow.pro","keywords":["anyflowm","web3","web 3","smart-contracts","smart contracts","erc721","erc20","hardhat","deploy","nft","token","solidity","solana","evm"],"author":{"name":"AnyflowLabs"},"license":"ISC","readme":"# AnyFlow CLI\n\nA command-line interface (CLI) for performing operations with AnyFlow.\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- [Contributing](#contributing)\n- [License](#license)\n\n## Installation\n\nTo install the `anyflow-cli` inside you project:\n\n```bash\nnpm install anyflow-cli\n```\n\n## Usage\n\nAfter installation, you can use the `anyflow` cli in your terminal. To see the available commands and options, run:\n\n```bash\nanyflow help\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 <command>`\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\n## Contributing\n\nContributions are welcome! Please follow these steps to contribute:\n\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature/YourFeature`).\n3. Make your changes and commit them (`git commit -m 'Add some feature'`).\n4. Push to the branch (`git push origin feature/YourFeature`).\n5. Open a pull request.\n\n## License\n\nThis project is licensed under the ISC License - see the [LICENSE](LICENSE) file for details.\n","readmeFilename":"README.md"}