{"id":19070813,"url":"https://github.com/mento-protocol/mento-cli","last_synced_at":"2026-02-02T01:04:08.861Z","repository":{"id":232753703,"uuid":"747362100","full_name":"mento-protocol/mento-cli","owner":"mento-protocol","description":"CLI for interacting with the Mento Protocol","archived":false,"fork":false,"pushed_at":"2024-11-06T23:36:32.000Z","size":82,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-29T19:51:59.570Z","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/mento-protocol.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,"zenodo":null}},"created_at":"2024-01-23T19:24:57.000Z","updated_at":"2024-11-06T22:11:22.000Z","dependencies_parsed_at":"2024-04-11T09:28:47.975Z","dependency_job_id":"e1c4bbcf-bd11-4ab4-bda8-1420abba86de","html_url":"https://github.com/mento-protocol/mento-cli","commit_stats":null,"previous_names":["mento-protocol/mento-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mento-protocol/mento-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mento-protocol%2Fmento-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mento-protocol%2Fmento-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mento-protocol%2Fmento-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mento-protocol%2Fmento-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mento-protocol","download_url":"https://codeload.github.com/mento-protocol/mento-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mento-protocol%2Fmento-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260689440,"owners_count":23047040,"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-09T01:20:42.237Z","updated_at":"2026-02-02T01:04:03.841Z","avatar_url":"https://github.com/mento-protocol.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mento-cli\n\nCLI for interacting with the Mento protocol\n\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\n[![Version](https://img.shields.io/npm/v/mento-cli.svg)](https://npmjs.org/package/mento-cli)\n[![Downloads/week](https://img.shields.io/npm/dw/mento-cli.svg)](https://npmjs.org/package/mento-cli)\n\n## 📋 Table of Contents\n\n1. 🔨 [Getting Started](#getting-started)\n\n2. 🚀 [Usage](#usage)\n\n3. ✨ [Misc commands](#commands)\n\n4. ©️ [License](#license)\n\n## \u003ca name=\"getting-started\"\u003e🔨 Getting Started\u003c/a\u003e\n\nTo get started working on this, you will need to have the following on your machine :\n\n![PNPM](https://img.shields.io/badge/-pnpm-green?style=for-the-badge\u0026logoColor=white\u0026logo=pnpm)\n\n![Typescript](https://img.shields.io/badge/-typescript-blue?style=for-the-badge\u0026logoColor=white\u0026logo=typescript)\n\nThen, run the following commands to build and use the cli locally:\n\n```bash\n# Install dependencies\npnpm install\n\n# Build the project\npnpm run build\n\n# Run CLI locally\npnpm run dev\n```\n\n## \u003ca name=\"usage\"\u003e🚀 Usage\u003c/a\u003e\n\nAn NPM package for the CLI does not yet exist, at this time the easiest way to get started is to create a global alias:\n\n```bash\n# Ensure the app is built\npnpm run build\n\n# At the project root run this command to crete a global CLI alias\npnpm link --global\n\n# Now you can run anywhere using\nmento\n```\n\n## \u003ca name=\"commands\"\u003e✨ Commands\u003c/a\u003e\n\n- [`mento pools list`](#mento-pools-list)\n- [`mento pools info POOLID`](#mento-pools-info-poolid)\n- [`mento config COMMAND`](#mento-config-command)\n- [`mento config set FLAG`](#mento-config-set-flag)\n\n## `mento pools list`\n\n### List all pools with their basic information\n\n```\nUSAGE\n  $ mento pools list [-p]\n\nFLAGS\n  -p, --pretty  Format output in a table and which includes token addresses.\n\nEXAMPLES\n  List all pools.\n\n    $ mento pools list\n\n  List all pools in an ugly tabe. Only looks pretty with a full screen terminal.\n\n    $ mento pools list -p\n```\n\n## `mento pools info POOLID`\n\n### Get information about a specific pool\n\n```\nUSAGE\n  $ mento pools info POOLID\n\nARGUMENTS\n  POOLID  ID of pool to be retrieved\n\nEXAMPLES\n  Get information for the cUSD/CELO pool on mainnet.\n\n    $ mento pools info 0x3135b662c38265d0655177091f1b647b4fef511103d06c016efdf18b46930d2c\n```\n\n## `mento config COMMAND`\n\n### Get/set the configuration options for the CLI\n\n```\nUSAGE\n  $ mento config COMMAND\n\nCOMMANDS\n  config get  Get configuration options for the CLI\n  config set  Set configuration options for the CLI\n\nEXAMPLES\n\n  Get the configurable options\n    $ mento config get\n\n  Set a configurable options\n    $ mento config set FLAG\n```\n\n## `mento config set FLAG`\n\n### Set the value for the configuration option with the given flag\n\n```\nUSAGE\n  $ mento config set -r \u003cvalue\u003e\n\nFLAGS\n  -r, --rpcUrl=\u003cvalue\u003e  (required) Specify the RPC URL to use\n\nEXAMPLES\n\n  Set the rpc url to use for the cli.\n    $ mento config get set -r https://alfajores-forno.celo-testnet.org\n```\n\n## \u003ca name=\"license\"\u003e©️ License\u003c/a\u003e\n\nThis project is licensed under the [MIT License](http://opensource.org/licenses/MIT).\n\nIf you want to contribute to this project, please read the [**contribution guide**](/CONTRIBUTING.MD)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmento-protocol%2Fmento-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmento-protocol%2Fmento-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmento-protocol%2Fmento-cli/lists"}