#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

#1857 in Development tools

Download history 51951/week @ 2024-01-05 51540/week @ 2024-01-12 61843/week @ 2024-01-19 60539/week @ 2024-01-26 65706/week @ 2024-02-02 65584/week @ 2024-02-09 69722/week @ 2024-02-16 73839/week @ 2024-02-23 77747/week @ 2024-03-01 72432/week @ 2024-03-08 81355/week @ 2024-03-15 80069/week @ 2024-03-22 72516/week @ 2024-03-29 66533/week @ 2024-04-05 67613/week @ 2024-04-12 57219/week @ 2024-04-19

276,212 downloads per month
Used in 56 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
~171K SLoC