cign

Crates.iocign
lib.rscign
version0.2.0
sourcesrc
created_at2020-06-20 16:12:41.565164
updated_at2022-12-13 18:20:12.660594
descriptionWatch configured git repos, check if all are clean with one command
homepage
repositoryhttps://github.com/drozdziak1/cign
max_upload_size
id255998
size116,833
Stanisław Drozd (drozdziak1)

documentation

README

Can I go now?

You likely ask this question every time before shutting off your computer for the day, especially when working with git-managed projects. cign is a simple program that helps you answer with confidence. You add git repo directories for cign to watch and then check if each HEAD is clean and pushed with a single command. With the cign refresh subcommand you can fetch all known repos, while cign fix runs your $SHELL and guides you through cleaning up each repo; $SHELL can be replaced with anything you'd like to run in all dirs.

Installation

crates.io

$ cargo install cign

Nix

$ nix-env -i -f default.nix

Usage

To start off, run cign init to create a new cign config in ~/.cign.toml. Then you can go to each repo and run cign add to start watching. See cign help for more options.

Yes.

Yes.

# Yes.
enable_chad = "Yes."
$ cign
                                   ,(%%%%%%%%@#..
                          @@#,,,.,,/*########&&.@/.,.&%,(@
                  /@,/,.,(@(,,,.,,,/,(((##((#&@@,.,,@,...,@,(*
             &%,,..,@,,,,.@,,,,,%@**,########&@,,.,@,,,,.@&.&,.*
           @.,#@%,,,,,,(/,...((,,,,*,#%%%%%%%&@.(@,,,.@,,,,.,,@,@
          @/&@%.,,,&#,,,,,,@*,,.,.@**%%%%%%%%&@..,,.,%#.,,#%,,@.@@
          @ &*@...@.,,.@#,..,..&/,@*/&&&&&&&&@@@@@@@.,#@,.. #@ &@@.
         @.....,@@.,/  ..,(&@,,,,..*(&&&&&&&&@@.,,,,,,.,,..,..,.,,,@
        @...........%*&.....@,,...,*#&@@@@@@&@@........,.....,.,.,..@
      ,@.%@@@**@@@@@% (.....%..,,.,*%@@@@@@@@@@,,.,,..,.....,....,..,@.
     %..................@....@..,..*%@@@@@@@@@@..,..,,,,.,,........,,.@
     @.@*./@@,.,#@*......&....@....*%@@@@@@@@@@..,,..,,....,..,,,,....@
     @@.@@&@, .  .,*@@ .......(/###*%@@@@@@@@@@@@@@(..,.....,,,,,.....@
      @..@..%&@/#   @@@%....*###,,..(%%%&&&@@@@@@@@@@@(........,......@
     &. #...&@@@/ .........(#,,....,,,*/#%%&&@@@@@@@@@@@,..,..........@
   .,....................*#*,...@@&&&&@@@@@@@@@@@@@@@@@@@..,.,.,....%#
  . .....................#*,,@%%@@@@@@@@@@@@@@@@@@@@@@@@@#.....,...@
 , .....,&(.............#/*@##@@@@@@@@@@@@@@@@@@@@@@@@@@@,,......**
% ......................#*%#%@@@@@@@@@@@@@@@@@@@@@@@@@@@@*. ... @
@,.   ../&&...&.........#*##@@@@@@@@@@@@@@@@@@@@@@@@@@@@.......(
        .................##%@@@@@@@@@@@@@@@@@@@@@@@@@@@.......@
      &@@@,.............../%&@@/,@@@@@@@@@@@@@@@@@@@@#....... *
//&@  .@,(@%@#......../*/@@@/@&@@@@@@@@@@@@%%@@@@@@...........,
%&@/@#//(/&@,**/(&@#.... .........&@@@@@@@@@@%................,
         @..#...................(@......#@....................@
       (....................%@..........(@.....................@
       @.............. /@  .............,#............. .@@@@@&&&@@&&&*
         @# .. .#@@     @................,..........@@&&&&&&&&&&&&&&&&&.#@@
                         ......................@@&&&&&&&&&&@@@&&&&@@@&@&&&&&&@
                         .................(@&&&&&&&&&@@&&@&&&&&&&&&&&&&&@&&@@@
                       @@.........../@@&&&&&&&&@@@@&&&&&&&&&@&@@@@@&&&@&&&&&&&
                    @@&&/#@@&@&&@&&&&&&@@@@&&&@&&&&&&@@@&&&&&&&&&&&&&&@@&&@@@#
                   @&&&&&&&&&&&&&&&&&&&&&@&&@@@&&&&&&&&&&&&&&@&@@@
                 @@&&&&&&&&&&&&&&&&&&&&@@@&&&&&&&&&&&&@&@@#
                ,&@&&&&&&&&&&&&&&&&&&&@&&&&&&&&&@@@
                @&&&&&&&&&&&&&&&&&@&&&@@@@&.

                               __   __          
                               \ \ / /__  ___   
                                \ V / _ \/ __|  
                                 | |  __/\__ \_ 
                                 |_|\___||___(_)

Commit count: 30

cargo fmt