Skip to content
This repository has been archived by the owner on Jun 23, 2021. It is now read-only.

ikalnytskyi/vcstatus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

vcstatus is a command line tool that prints a short string with VCS information about the current working directory.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages