#git #version-control #prompt #askpass #prompting #terminal #gitoxide

gix-prompt

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

16 unstable releases (5 breaking)

0.8.4 Mar 14, 2024
0.8.2 Dec 30, 2023
0.7.0 Sep 8, 2023
0.5.4 Jul 22, 2023
0.3.3 Mar 26, 2023

#1843 in Development tools

Download history 62384/week @ 2024-01-20 61236/week @ 2024-01-27 67010/week @ 2024-02-03 65453/week @ 2024-02-10 70427/week @ 2024-02-17 74692/week @ 2024-02-24 75651/week @ 2024-03-02 74841/week @ 2024-03-09 83238/week @ 2024-03-16 76344/week @ 2024-03-23 72494/week @ 2024-03-30 65708/week @ 2024-04-06 68276/week @ 2024-04-13 68479/week @ 2024-04-20 70281/week @ 2024-04-27 68201/week @ 2024-05-04

285,710 downloads per month
Used in 57 crates (2 directly)

MIT/Apache

67KB
1K SLoC

Acknowledgements

Portions of this crate are loosely based on rpassword.


lib.rs:

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.

Dependencies

~4–14MB
~174K SLoC