#git #terminal-prompt #git-version-control #version-control #terminal

gix-prompt

A crate of the gitoxide project for handling prompts in the terminal

24 releases

new 0.10.0 Apr 4, 2025
0.9.1 Jan 18, 2025
0.9.0 Dec 22, 2024
0.8.9 Nov 24, 2024
0.3.3 Mar 26, 2023

#3 in #terminal-prompt

Download history 88542/week @ 2024-12-19 76110/week @ 2024-12-26 104448/week @ 2025-01-02 117066/week @ 2025-01-09 117925/week @ 2025-01-16 106252/week @ 2025-01-23 112092/week @ 2025-01-30 123391/week @ 2025-02-06 130611/week @ 2025-02-13 136669/week @ 2025-02-20 131776/week @ 2025-02-27 140180/week @ 2025-03-06 160734/week @ 2025-03-13 116282/week @ 2025-03-20 180087/week @ 2025-03-27 352814/week @ 2025-04-03

840,915 downloads per month
Used in 43 crates (3 directly)

MIT/Apache

79KB
1.5K SLoC

Git style prompting with support for GIT_ASKPASS and askpass program configuration.

Compatibility

This is a unix-only crate which will return with an error when trying to obtain any prompt on other platforms. On those platforms it is common to have helpers which perform this task so it shouldn't be a problem.


Acknowledgements

Portions of this crate are loosely based on rpassword.

Dependencies

~6–15MB
~229K SLoC