Giter Site home page Giter Site logo

ston1x / git_clerk Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 3.71 MB

๐Ÿ‘จ๐Ÿฝโ€๐Ÿ’ผA CLI gem to gather all repo branch statuses together

License: MIT License

Shell 17.56% Ruby 82.44%
bash branch git microservices repository

git_clerk's People

Contributors

dependabot[bot] avatar ston1x avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

git_clerk's Issues

Add space after asterisk

The 'dirtiness' asterisk is printed right after the branch name. There should be a space between them
Screen Shot 2020-10-25 at 20 40 45

Handle ARGV

  • Use OptionParser
  • Handle subcommands
  • Ignore double-dashes (use vagrant-like syntax: vagrant up)
  • When -p is given, verify if the path is valid

Parse multiple arguments in a row

Background

Currently available arguments for clerk are: -f, -d and others. It is currently impossible to use two or more arguments in a row, e.g. git_clerk clerk -fd. The parser only understands them separately: git_clerk clerk -f -d
Screen Shot 2020-10-25 at 20 41 35

To do

  • Allow any combinations of supported arguments, e.g. -fd, -df (it becomes more interesting when there are more than 3 of them. Just reversing them wouldn't help)

Add 'dir' argument

First argument of the command must be the directory where it will scan, e.g. git-clerk . or git-clerk ~/dev/

Add 'watch' mode

Add a mode that will persist on screen and refresh repo statuses within a time interval

Add 'verbose' argument

Verbose mode should indicate the current step like:

Collecting the git directories...
Getting the branches...
Getting dirty statuses...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.