#version-control #git #terminal

gix-prompt

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

23 releases

0.9.1 Jan 18, 2025
0.9.0 Dec 22, 2024
0.8.9 Nov 24, 2024
0.8.6 Jul 23, 2024
0.3.3 Mar 26, 2023

#1756 in Development tools

Download history 109177/week @ 2024-12-06 106251/week @ 2024-12-13 82128/week @ 2024-12-20 79938/week @ 2024-12-27 108835/week @ 2025-01-03 117583/week @ 2025-01-10 115782/week @ 2025-01-17 106140/week @ 2025-01-24 113401/week @ 2025-01-31 128934/week @ 2025-02-07 130158/week @ 2025-02-14 134830/week @ 2025-02-21 131011/week @ 2025-02-28 147229/week @ 2025-03-07 153931/week @ 2025-03-14 96652/week @ 2025-03-21

550,720 downloads per month
Used in 45 crates (3 directly)

MIT/Apache

74KB
1.5K 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
~192K SLoC