Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

git-pending

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-pending

> Git plugin to list todo, fixme, testme and docme comments with verbose details

  • 1.1.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

git-pending

Git plugin to list todo, fixme, testme and docme comments with verbose details

Installation

Run the command below to install the plugin

npm install -g git-pending

Usage

Open any git repository and run below command

git pending

This will list all the pending TODO, FIXME, TESTME and DOCME comments

Options

Here is the list of options that you can pass to modify the output of git pending

git pending [--oneline|-o ]
            [--type|-t <fixme|testme|docme|todo>]
            [--author|-a <author>]
            [--no-stats]
            [--strict]
            [--help]
            [--version]

Examples

Here is the list of sample usage examples

git pending                     # All TODO, FIXME, DOCME or TESTME comments with commit details
git pending --no-stats          # Comments without stats
git pending --oneline           # Comments with only date
git pending --type fixme        # Only the fixme comments
git pending --author kamran     # Comments from specific author
git pending -t fixme -a kamran  # FIXME comments from specific author
git pending -t fixme -o         # Non-verbose fixme comments

# By default, it looks for text todo, fixme, testme and docme anywhere 
#  in the comment. If you want to make the checks strict i.e. only match 
#  @todo, @fixme, @testme and @docme, then use --strict flag
git pending --strict

Comments by Single Author

If you don't pass --author flag, it will show you the comments from everyone

git pending --author kamran --oneline

Comments with Commit Details

Not passing --oneline flag will give you the detailed output with commit that introduced the comment

git pending --author kamran

Comments of Specific Type

Use --type flag to specify the type of comments you need. Possible values (TODO, FIXME, TESTME, DOCME)

git pending --type TODO
git pending --type TESTME
git pending --type FIXME
git pending --type DOCME

License

MIT © Kamran Ahmed

Keywords

FAQs

Package last updated on 22 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc