#terminal #git #compatibility #version-control #gix-prompt

gix-prompt

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

25 unstable releases (8 breaking)

new 0.11.0 Apr 26, 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

#10 in #compatibility

Download history 115030/week @ 2025-01-05 114757/week @ 2025-01-12 113986/week @ 2025-01-19 107235/week @ 2025-01-26 114577/week @ 2025-02-02 134201/week @ 2025-02-09 130932/week @ 2025-02-16 132536/week @ 2025-02-23 130738/week @ 2025-03-02 155383/week @ 2025-03-09 140202/week @ 2025-03-16 113751/week @ 2025-03-23 278476/week @ 2025-03-30 336113/week @ 2025-04-06 220262/week @ 2025-04-13 157439/week @ 2025-04-20

1,002,238 downloads per month
Used in 46 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

~5–15MB
~220K SLoC