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

gix-prompt

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

17 unstable releases (5 breaking)

new 0.8.5 May 22, 2024
0.8.4 Mar 14, 2024
0.8.3 Feb 25, 2024
0.8.2 Dec 30, 2023
0.3.3 Mar 26, 2023

#1963 in Development tools

Download history 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 67543/week @ 2024-04-12 68308/week @ 2024-04-19 69964/week @ 2024-04-26 68865/week @ 2024-05-03 72604/week @ 2024-05-10 54561/week @ 2024-05-17

277,423 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
~169K SLoC