#gix #cli #git #prompt #version-control

gix-prompt

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

15 unstable releases (5 breaking)

new 0.8.3 Feb 25, 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

#296 in Authentication

Download history 74023/week @ 2023-11-06 68197/week @ 2023-11-13 50994/week @ 2023-11-20 58924/week @ 2023-11-27 55533/week @ 2023-12-04 57249/week @ 2023-12-11 48035/week @ 2023-12-18 37867/week @ 2023-12-25 46540/week @ 2024-01-01 52501/week @ 2024-01-08 54372/week @ 2024-01-15 61453/week @ 2024-01-22 65219/week @ 2024-01-29 67099/week @ 2024-02-05 66993/week @ 2024-02-12 64152/week @ 2024-02-19

267,454 downloads per month
Used in 56 crates (2 directly)

MIT/Apache

66KB
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–16MB
~181K SLoC