{"id":22016356,"url":"https://github.com/simeg/commentective","last_synced_at":"2025-07-06T18:36:57.011Z","repository":{"id":32695642,"uuid":"139247195","full_name":"simeg/commentective","owner":"simeg","description":":crystal_ball: CLI tool to locate comments and commented out code in your source code (\"comment detective\")","archived":false,"fork":false,"pushed_at":"2022-04-10T14:06:02.000Z","size":193,"stargazers_count":9,"open_issues_count":5,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-08T21:36:03.807Z","etag":null,"topics":["cli","comments","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/simeg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-30T12:20:25.000Z","updated_at":"2022-11-22T04:44:30.000Z","dependencies_parsed_at":"2022-08-07T18:00:46.650Z","dependency_job_id":null,"html_url":"https://github.com/simeg/commentective","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/simeg/commentective","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simeg%2Fcommentective","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simeg%2Fcommentective/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simeg%2Fcommentective/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simeg%2Fcommentective/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simeg","download_url":"https://codeload.github.com/simeg/commentective/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simeg%2Fcommentective/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263952776,"owners_count":23534978,"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":["cli","comments","rust"],"created_at":"2024-11-30T04:34:37.166Z","updated_at":"2025-07-06T18:36:56.994Z","avatar_url":"https://github.com/simeg.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# commentective [![Crate Status](https://img.shields.io/crates/v/commentective.svg)](https://crates.io/crates/commentective) ![CI](https://github.com/simeg/commentective/workflows/CI/badge.svg) [![codecov](https://codecov.io/gh/simeg/commentective/branch/master/graph/badge.svg)](https://codecov.io/gh/simeg/commentective)\n`commentective` (word play on _comment detective_) is a CLI tool that locates commented out code and\n comments in your project. Note that this tool assumes that your code is syntactically correct.\n\nIt will find single line comments and multi line comments. It supports a number of languages. If you\nfind a case that `commentective` does not support, please\n[submit an issue](https://github.com/simeg/commentective/issues/new).\n\n\n# Usage\n`commentective` is language agnostic, meaning you don't need to tell it what language your files are\nwritten in. It will look at the extension of the files and act accordingly.\n\n```bash\nUSAGE:\n    commentective [FLAGS] [OPTIONS] \u003cFILES\u003e...\n\nARGS:\n    \u003cFILES\u003e...    Files to analyze\n\nFLAGS:\n    -c, --code            Print the code with comments\n    -h, --help            Prints help information\n    -i, --ignore-empty    Ignore printing files without comments\n    -s, --short           Formats output with \"file.ext:line\" without colors. Only outputs files with comments.\n    -V, --version         Prints version information\n\nOPTIONS:\n    -e, --extension \u003cextension\u003e    Only analyze files with this extension\n    -l, --lang \u003clang\u003e              Analyze as this language. Pass the extension, e.g. 'js', 'py', 'sh'\n```\n\n\n# Supported languages\n\n|  Language  | Supported |\n| ---------- | --------- |\n| Bash/Shell |     ✔️    |\n| C          |     ✔️    |\n| C#         |     ✔️    |\n| C++        |     ✔️    |\n| CSS        |     ✔️    |\n| Go         |     ✔️    |\n| HTML       |     ✔️    |\n| Java       |     ✔️    |\n| JavaScript |     ✔️    |\n| Lua        |     ✔️    |\n| PHP        |     ✔️    |\n| Python     |     ✔️    |\n| Ruby       |     ✔️    |\n| Rust       |     ✔️    |\n| Scala      |     ✔️    |\n\nGot a request for a language?\n[Submit an issue!](https://github.com/simeg/commentective/issues/new)\n\n\n# Installation\n```bash\n$ cargo install commentective\n```\n\n\n# Contribute :zap:\n\nWant to contribute to this project? A backlog is kept in the\n[issues](https://github.com/simeg/commentective/issues), have a look!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimeg%2Fcommentective","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimeg%2Fcommentective","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimeg%2Fcommentective/lists"}