Crates.io | vcstatus |
lib.rs | vcstatus |
version | 0.1.1 |
source | src |
created_at | 2016-07-19 07:20:39.211232 |
updated_at | 2019-01-10 18:53:12.513135 |
description | Prints VCS and current branch to standard output. |
homepage | https://github.com/ikalnytskyi/vcstatus |
repository | https://github.com/ikalnytskyi/vcstatus.git |
max_upload_size | |
id | 5718 |
size | 14,293 |
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]
%n
- prints VCS short name%b
- prints VCS active branch