{"id":15732970,"url":"https://github.com/eps1lon/esquery-cli","last_synced_at":"2026-02-07T11:01:30.675Z","repository":{"id":57230541,"uuid":"357840770","full_name":"eps1lon/esquery-cli","owner":"eps1lon","description":"Command-line interface for `esquery`","archived":false,"fork":false,"pushed_at":"2021-04-14T15:07:47.000Z","size":7301,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-17T03:06:43.594Z","etag":null,"topics":["ast","cli","command-line-tool","query","selector"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/eps1lon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-14T09:02:40.000Z","updated_at":"2023-05-22T22:11:15.000Z","dependencies_parsed_at":"2022-09-06T13:50:41.713Z","dependency_job_id":null,"html_url":"https://github.com/eps1lon/esquery-cli","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eps1lon%2Fesquery-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eps1lon%2Fesquery-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eps1lon%2Fesquery-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eps1lon%2Fesquery-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eps1lon","download_url":"https://codeload.github.com/eps1lon/esquery-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247615476,"owners_count":20967183,"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":["ast","cli","command-line-tool","query","selector"],"created_at":"2024-10-04T00:40:27.619Z","updated_at":"2026-02-07T11:01:25.654Z","avatar_url":"https://github.com/eps1lon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# esquery-cli\n\n## Usage\n\n```bash\nnpx esquery-cli \u003cselector\u003e [glob]\n\nQueries files for a given AST selector based on `esquery`. Selector documentatio\nn can be found at https://github.com/estools/esquery\n\nPositionals:\n  selector  CSS like                                                    [string]\n  glob      Files to search. Note that files listed in the .gitignore in the cur\n            rent working directory are ignored by default.\n                              [string] [default: \"**/*.{cjs,js,jsx,mjs,ts,tsx}\"]\n\nOptions:\n  --version            Show version number                             [boolean]\n  --help               Show help                                       [boolean]\n  --verbose            Logs additional information    [boolean] [default: false]\n  --include-code-frame  Logs the codeframe of each query result.\n                                                      [boolean] [default: false]\n\nExamples:\n  esquery-cli.js \"TSAsExpression\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feps1lon%2Fesquery-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feps1lon%2Fesquery-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feps1lon%2Fesquery-cli/lists"}