{"id":22998430,"url":"https://github.com/tablelandnetwork/js-tableland-cli","last_synced_at":"2025-08-03T12:06:08.409Z","repository":{"id":37555428,"uuid":"459449746","full_name":"tablelandnetwork/js-tableland-cli","owner":"tablelandnetwork","description":"Development has moved to: https://github.com/tablelandnetwork/tableland-js/","archived":false,"fork":false,"pushed_at":"2023-10-17T06:05:54.000Z","size":2346,"stargazers_count":12,"open_issues_count":7,"forks_count":2,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-06-22T01:40:45.243Z","etag":null,"topics":["blockchain","cli","command-line-tool","database","nfts","web3"],"latest_commit_sha":null,"homepage":"","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/tablelandnetwork.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-02-15T06:07:18.000Z","updated_at":"2023-08-21T18:22:42.000Z","dependencies_parsed_at":"2025-06-22T01:36:10.890Z","dependency_job_id":"7d282b18-7c43-4e7e-8b17-7179d8f3674a","html_url":"https://github.com/tablelandnetwork/js-tableland-cli","commit_stats":null,"previous_names":["textileio/js-tableland-cli"],"tags_count":37,"template":false,"template_full_name":null,"purl":"pkg:github/tablelandnetwork/js-tableland-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tablelandnetwork%2Fjs-tableland-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tablelandnetwork%2Fjs-tableland-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tablelandnetwork%2Fjs-tableland-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tablelandnetwork%2Fjs-tableland-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tablelandnetwork","download_url":"https://codeload.github.com/tablelandnetwork/js-tableland-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tablelandnetwork%2Fjs-tableland-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268540786,"owners_count":24266606,"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","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["blockchain","cli","command-line-tool","database","nfts","web3"],"created_at":"2024-12-15T06:13:23.825Z","updated_at":"2025-08-03T12:06:08.336Z","avatar_url":"https://github.com/tablelandnetwork.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @tableland/cli\n\n**NOTICE**: Development has moved to: https://github.com/tablelandnetwork/tableland-js/\n\n[![Review](https://github.com/tablelandnetwork/js-tableland-cli/actions/workflows/review.yml/badge.svg)](https://github.com/tablelandnetwork/js-tableland-cli/actions/workflows/review.yml)\n[![License](https://img.shields.io/github/license/tablelandnetwork/js-tableland-cli.svg)](./LICENSE)\n[![Version](https://img.shields.io/github/package-json/v/tablelandnetwork/js-tableland-cli.svg)](./package.json)\n[![Release](https://img.shields.io/github/release/tablelandnetwork/js-tableland-cli.svg)](https://github.com/tablelandnetwork/js-tableland-cli/releases/latest)\n[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg)](https://github.com/RichardLitt/standard-readme)\n\n\u003e Tableland command line tool\n\n# Table of Contents\n\n- [@tableland/cli](#tablelandcli)\n- [Table of Contents](#table-of-contents)\n- [Background](#background)\n- [Usage](#usage)\n- [Install](#install)\n- [Config](#config)\n- [Development](#development)\n- [Contributing](#contributing)\n- [License](#license)\n\n# Background\n\nAn experimental Tableland command line tool.\n\n# Usage\n\n```bash\ntableland \u003ccommand\u003e\n\nCommands:\n  tableland chains             List information about supported chains\n  tableland controller \u003csub\u003e   Get, set, and lock the controller contract for a\n                               given table\n  tableland create [schema]    Create a new table\n  tableland info \u003cname\u003e        Get info about a given table by name\n  tableland init               Create config file                   [aliases: i]\n  tableland list [address]     List tables by address\n  tableland read [statement]   Run a read-only query against a remote table\n                                                          [aliases: r, query, q]\n  tableland receipt \u003chash\u003e     Get the receipt of a chain transaction to know if\n                               it was executed, and the execution details\n  tableland schema \u003cname\u003e      Get info about a given table schema\n  tableland write [statement]  Run a mutating SQL statement against a remote\n                               table                        [aliases: w, run, r]\n  tableland shell [statement]  Interact with tableland via an interactive shell\n                               environment                      [aliases: s, sh]\n\nOptions:\n      --help         Show help                                         [boolean]\n      --version      Show version number                               [boolean]\n  -k, --privateKey   Private key string                                 [string]\n  -c, --chain        The EVM chain to target      [string] [default: \"maticmum\"]\n  -p, --providerUrl  JSON RPC API provider URL. (e.g., https://eth-rinkeby.alche\n                     myapi.io/v2/123abc123a...)                         [string]\n```\n\n# Install\n\nYou can install via npm.\n\n```\nnpm install -g @tableland/cli\n```\n\n# Config\n\n`@tableland/cli` uses [cosmiconfig](https://github.com/davidtheclark/cosmiconfig) for configuration file support. This means you can configure `@tableland/cli` via (in order of precedence):\n\n- A `.tablelandrc.json`, `.tablelandrc.yml`, or `.tablelandrc.yaml` file.\n- A `.tablelandrc` file written in JSON or YAML.\n- A `\"tableland\"` key in a local `package.json` file.\n\nThe configuration file will be resolved starting from the current working directory, and searching up the file tree until a config file is (or isn’t) found.\n\n`@tableland/cli` intentionally doesn’t support any kind of global configuration. This is to make sure that when a project is copied to another computer, `@tableland/cli`'s behavior stays the same. Otherwise, `@tableland/cli` wouldn’t be able to guarantee that everybody in a team uses the same consistent settings.\n\nThe options you can use in the configuration file are the same as the global cli flag options. Additionally, all of these configuration values can be overriden via environement variables (prefixed with `TBL_`), or via a local `.env` file. See `.env.example` for an example.\n\nA configuration file can also be bootstrapped using the `tableland init` command. This will provide an interactive prompt to setup a config file (you can skip the interactive prompts by using the `--yes` flag). Global cli flags can be used in combination with the `init` command to skip specific questions. For example `tableland init --chain \"maticmum\"` will skip the question about default chain, and use `maticmum` in the output config file.\n\n# Development\n\nGet started with installing and building the project:\n\n```shell\nnpm install\nnpm run build\n```\n\n# Contributing\n\nPRs accepted.\n\nSmall note: If editing the README, please conform to the\n[standard-readme](https://github.com/RichardLitt/standard-readme) specification.\n\n# License\n\nMIT AND Apache-2.0, © 2021-2022 Tableland Network Contributors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftablelandnetwork%2Fjs-tableland-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftablelandnetwork%2Fjs-tableland-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftablelandnetwork%2Fjs-tableland-cli/lists"}