{"id":18258104,"url":"https://github.com/sidneys/git-status-cli","last_synced_at":"2025-10-26T06:32:49.850Z","repository":{"id":32475837,"uuid":"134951564","full_name":"sidneys/git-status-cli","owner":"sidneys","description":"Get the file status (`git status`) of the current Git repository from the commandline. Format the output as JSON or plaintext.","archived":false,"fork":false,"pushed_at":"2022-07-08T02:17:18.000Z","size":351,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-08T09:35:19.031Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/sidneys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-26T10:25:41.000Z","updated_at":"2020-11-07T06:30:55.000Z","dependencies_parsed_at":"2022-08-07T17:31:25.990Z","dependency_job_id":null,"html_url":"https://github.com/sidneys/git-status-cli","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidneys%2Fgit-status-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidneys%2Fgit-status-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidneys%2Fgit-status-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidneys%2Fgit-status-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sidneys","download_url":"https://codeload.github.com/sidneys/git-status-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247941719,"owners_count":21022037,"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":[],"created_at":"2024-11-05T10:29:07.405Z","updated_at":"2025-10-26T06:32:49.770Z","avatar_url":"https://github.com/sidneys.png","language":"JavaScript","readme":"# git-status-cli\n\n------\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eGet the output of 'git status' from the command line, formatted as JSON or plain text.\u003cbr\u003e\u003cbr\u003e\n  Available for macOS, Windows and Linux.\n\u003c/p\u003e\n\n------\n\n\n## Contents\n\n1. [Installation](#installation)\n1. [Usage](#usage)\n1. [Examples](#examples)\n1. [Platform Support](#platform-support)\n1. [Contribute](#contribute)\n1. [Author](#author)\n\n\n## \u003ca name=\"installation\"/\u003e\u003c/a\u003e Installation\n\n### Installation as global NPM package\n\n```bash\n$ npm install --global git-status-cli\n```\n\n\n## \u003ca name=\"usage\"/\u003e\u003c/a\u003e Usage\n\n```bash\n$ git-status [--format \u003coutput-format\u003e] [--cwd \u003cpath\u003e] [--git \u003cpath\u003e]\n```\n\n- Parameters\n   - -f, --format **output-format** - Output format (Options: *json*, *text*)\n   - -c, --cwd **path** - Path to Git repository (Example: */home/user/myrepository*)\n   - -g, --git **path** - Path to Git executable (Example: */usr/bin/git*)\n\n\n## \u003ca name=\"examples\"/\u003e\u003c/a\u003e Examples\n\n### Standard usage\n\n```bash\n$ git-status\n\u003e\u003e {\n\u003e\u003e     \"modified\": [ \"README.md\", \"lib/index.js\" ],\n\u003e\u003e     \"added\": [ \"LICENSE\" ]\n\u003e\u003e }  \n```\n\n### Custom format\n\n```bash\n$ git-status-cli --format text\n\u003e\u003e modified:\t\tREADME.md, file2\n\u003e\u003e added:\t\tfile3, file4\n```\n\n### Custom repository path\n\n```bash\n$ git-status-cli --cwd \"/Users/joeqpublic/Documents/myrepository\"\n\u003e\u003e modified:\t\tREADME.md, file2\n\u003e\u003e added:\t\tfile3, file4\n```\n\n### Show Help\n\n```bash\n$ git-status-cli --help\n```\n\n### Show Version\n\n```bash\n$ git-status-cli --version\n```\n\n\n## \u003ca name=\"platform-support\"/\u003e\u003c/a\u003e Platform Support\n\nTested on:\n\n- macOS Mojave (10.14.6)\n- Windows 10 Spring Creators Update\n- Ubuntu (18.04)\n\n\n## \u003ca name=\"contribute\"/\u003e\u003c/a\u003e Contribute ![Contribute](https://img.shields.io/badge/contributions-wanted-red.svg?style=flat-square)\n\nRead the [contribution documentation](https://github.com/sidneys/git-status-cli/blob/release/CONTRIBUTING.md) first.\n\n- [Dev Chat](http://gitter.im/sidneys/git-status-cli): Talk about features and suggestions.\n- [Issues](http;//github.com/sidneys/git-status-cli/issues) File bugs and document issues.\n\n\n## \u003ca name=\"author\"/\u003e\u003c/a\u003e Author\n\n[sidneys](http://sidneys.github.io) 2018\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsidneys%2Fgit-status-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsidneys%2Fgit-status-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsidneys%2Fgit-status-cli/lists"}