feat: update password retrieval command to use new 1Password syntax
Some checks failed
Nix Format Check / check-format (push) Failing after 37s
Some checks failed
Nix Format Check / check-format (push) Failing after 37s
This commit is contained in:
parent
7e4bc76015
commit
4c957dd458
@ -15,7 +15,7 @@ def get_password():
|
||||
op_cmd = "op"
|
||||
|
||||
# Try to get the password
|
||||
success, output = run_command([op_cmd, "item", "get", "Dotfiles Secrets", "--fields", "password"])
|
||||
success, output = run_command([op_cmd, "read", "op://j7nmhqlsjmp2r6umly5t75hzb4/Dotfiles Secrets/password"])
|
||||
|
||||
if not success:
|
||||
printfe("red", "Failed to fetch password from 1Password.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user