{"id":33185703,"url":"https://github.com/Lilja/cli-info","last_synced_at":"2025-11-22T04:01:35.427Z","repository":{"id":63477520,"uuid":"568084130","full_name":"Lilja/cli-info","owner":"Lilja","description":"check for presence of your favorite CLI tools","archived":false,"fork":false,"pushed_at":"2022-11-19T17:07:14.000Z","size":11,"stargazers_count":26,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-10T06:25:17.940Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/Lilja.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":"2022-11-19T12:00:38.000Z","updated_at":"2024-11-24T23:23:53.000Z","dependencies_parsed_at":"2022-11-19T17:46:01.005Z","dependency_job_id":null,"html_url":"https://github.com/Lilja/cli-info","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Lilja/cli-info","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lilja%2Fcli-info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lilja%2Fcli-info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lilja%2Fcli-info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lilja%2Fcli-info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lilja","download_url":"https://codeload.github.com/Lilja/cli-info/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lilja%2Fcli-info/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285731803,"owners_count":27222214,"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-11-22T02:00:05.934Z","response_time":64,"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":[],"created_at":"2025-11-16T05:00:20.099Z","updated_at":"2025-11-22T04:01:35.415Z","avatar_url":"https://github.com/Lilja.png","language":"Python","funding_links":[],"categories":["\u003ca name=\"package-manager\"\u003e\u003c/a\u003ePackage managers"],"sub_categories":[],"readme":"# cli-tools-info\n\n[![asciicast](https://asciinema.org/a/WUtnWUkMnrm5NyQ0Gi0c1CaHu.svg)](https://asciinema.org/a/WUtnWUkMnrm5NyQ0Gi0c1CaHu)\n\nAn overview of you cli tools, if they are installed and what version they are on.\n\n## Usage\n* `pip install cli-tools-info`\n\n* Create a python file that has the following contents\n\n```python\n#!/usr/bin/env python\nfrom cli_tools_info import (\n    Tool,\n    LONG,\n    VERSION_WITH_THREE_NUMBERS_AND_DOTS,\n    run,\n)\n\ntools = [\n    Tool(name=\"nvim\", args=LONG, grep_string=VERSION_WITH_THREE_NUMBERS_AND_DOTS),\n]\nrun(tools)\n```\n\n* Run your file, likely: `./file`. You should get an output of the tool you are using depending on if it's installed or not.\n\n## Requirements\n* python\u003e=3.8(runs asycncio)\n\n### `run`-options\n* `tools: List[Tool]`\n* `headers: bool`, whether to use headers in the table formatted list\n* `table_fmt: Optional[str] = \"simple\"`, what table formatting to send to `tabulate`. See `tablefmt` in `tabulate`. Default `simple`.\n\n### Creator's `cli-info` file\n[link](https://github.com/Lilja/dotfiles/blob/master/bin/cli-info)\n\n## Showcase of usage/workflow in vim\n[![asciicast](https://asciinema.org/a/538827.svg)](https://asciinema.org/a/538827)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLilja%2Fcli-info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLilja%2Fcli-info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLilja%2Fcli-info/lists"}