vcstatus

Crates.iovcstatus
lib.rsvcstatus
version0.1.1
sourcesrc
created_at2016-07-19 07:20:39.211232
updated_at2019-01-10 18:53:12.513135
descriptionPrints VCS and current branch to standard output.
homepagehttps://github.com/ikalnytskyi/vcstatus
repositoryhttps://github.com/ikalnytskyi/vcstatus.git
max_upload_size
id5718
size14,293
Ihor Kalnytskyi (ikalnytskyi)

documentation

README

vcstatus

vcstatus is a command line tool that prints a short string with VCS information about the current working directory. A main use case is to make shell prompts consume that information, so you never forget current VCS and active branch.

vcstatus is designed keeping in mind the main use case, so it was crucial to have a fast tool. That means it can't be written in scripting language (like Python), even if I'd prefer to. So I choose Rust just because I wanted to learn it for a while.

$ vcstatus -f "[%n %b]"
[git master]

VCS

  • Git
  • Mercurial

Formats

  • %n - prints VCS short name
  • %b - prints VCS active branch

Links

Commit count: 11

cargo fmt