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

git-status-cli

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-status-cli

Get the file status (`git status`) of the current Git repository from the commandline. Format the output as JSON or plaintext.

  • 0.5.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

git-status-cli


Get the file status (`git status`) of the current Git repository from the commandline.

Format output as JSON or plain text.
Available for macOS, Windows and Linux.


Contents

  1. Installation
  2. Usage
  3. Examples
  4. Platform Support
  5. Contribute
  6. Author

Installation

Installation as global NPM package

$ npm install --global git-status-cli

Usage

$ git-status [--format <output-format>]
  • Parameters
    • (String) - json, text (Default: json)

Examples

$ git-status
>> {
>>     "modified": [ "file1", "file2" ],
>>     "added": [ "file3", "file4" ]
>> }  

Status as Plaintext

$ git-status-cli --format=text
>> modified:		file1, file2
>> added:		file3, file4

Show Help

$ git-status-cli --help

Show Version

$ git-status-cli --version

Platform Support

Tested on:

  • macOS High Sierra 10.13.4
  • Windows 10 Spring Creators Update
  • Ubuntu 18.04

Contribute Contribute

Read the contribution documentation first.

  • Dev Chat: Talk about features and suggestions.
  • Issues File bugs and document issues.

Author

sidneys 2018

Keywords

FAQs

Package last updated on 31 May 2018

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