{"id":15882800,"url":"https://github.com/zhangyuan/lindorm-cli","last_synced_at":"2025-10-25T14:11:08.859Z","repository":{"id":218943139,"uuid":"747600674","full_name":"zhangyuan/lindorm-cli","owner":"zhangyuan","description":"Unoffical Lindorm CLI for TSDB, written in Go and with better developer experience and less bugs.","archived":false,"fork":false,"pushed_at":"2024-01-26T09:08:09.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-07T20:28:26.103Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/zhangyuan.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":"2024-01-24T09:08:30.000Z","updated_at":"2024-01-24T15:45:01.000Z","dependencies_parsed_at":"2024-01-24T16:49:15.386Z","dependency_job_id":"19fa653f-84db-4f0a-8292-f86d64c0c6c1","html_url":"https://github.com/zhangyuan/lindorm-cli","commit_stats":null,"previous_names":["zhangyuan/lindorm-cli"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangyuan%2Flindorm-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangyuan%2Flindorm-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangyuan%2Flindorm-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangyuan%2Flindorm-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhangyuan","download_url":"https://codeload.github.com/zhangyuan/lindorm-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246763863,"owners_count":20829798,"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-10-06T04:07:11.924Z","updated_at":"2025-10-25T14:11:08.776Z","avatar_url":"https://github.com/zhangyuan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lindorm-cli\n\nUnoffical Lindorm CLI for TSDB （时序引擎）, written in Go and with better developer experience and less bugs.\n\n## Usage\n\n### Download the binary\n\nGo to the [Releases](https://github.com/zhangyuan/lindorm-cli/releases) page to download the binary for specific platform. Optionally, rename the binary name to `lindorm-cli`.\n\n### Setup the credentials\n\nSet the database credentials via environment variables or `.env` file. e.g.\n\n```.env\nENDPOINT=http://...\nUSERNAME=username\nPASSWORD=password\nDATABASE=database\n```\n\n### Help\n\n```\n$ lindorm-cli --help\nA lindorm-cli with less bugs\n\nUsage:\n  lindorm-cli [flags]\n  lindorm-cli [command]\n\nAvailable Commands:\n  completion  Generate the autocompletion script for the specified shell\n  help        Help about any command\n  query       query the data via SQL statements\n\nFlags:\n  -h, --help      help for lindorm-cli\n  -v, --version   version for lindorm-cli\n\nUse \"lindorm-cli [command] --help\" for more information about a command.\n```\n\n### Run interactive command line interface\n\n```bash\nlindorm-cli\n```\n\nNote that current the SQL statement must be provided as a single line without line break. Type `exit` to exit the interface.\n\n### Run single statement with subcommand `query`\n\n#### Provide the SQL statement via argument\n\nPass the SQL statement with `-s` option:\n\n```bash\nlindorm-cli query -s \"select 1\"\n```\n\nNote that when the statement contains the backtick character(`` ` ``), it's tricky to provide the correct argument in Linux termimal. So use `-f` option below is a better option.\n\n#### Provide the SQL statement via file\n\nPass the file path containing a SQL statement via `-f` option:\n\n```bash\nlindorm-cli query -f sql.sql\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhangyuan%2Flindorm-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhangyuan%2Flindorm-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhangyuan%2Flindorm-cli/lists"}