From 119ab9e0079c4b3105598abb8a918bc1e6b86cec Mon Sep 17 00:00:00 2001 From: Satyarth Sampath Date: Tue, 24 May 2022 18:55:48 +0530 Subject: Adds password prompt for register and login (#424) * Adds the rpassword dependency * Provides only a prompt based input for login and register with a hidden prompt for password * Adds option based inputs for login and register commands * Password can also be provided as an option Co-authored-by: Satyarth --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index ac38b445..e1ece208 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -66,6 +66,7 @@ clap = { version = "3.1.18", features = ["derive"] } clap_complete = "3.1.4" fs-err = "2.7" whoami = "1.1.2" +rpassword = "6.0" [dependencies.tracing-subscriber] version = "0.3" -- cgit v1.3.1