From 6b38682d711fb74feddcc06c4da18f8e771858df Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 25 Jul 2020 04:33:51 -0400 Subject: implement rbw unlocked --- src/bin/rbw/commands.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/bin/rbw/commands.rs') diff --git a/src/bin/rbw/commands.rs b/src/bin/rbw/commands.rs index e5858b6..f514153 100644 --- a/src/bin/rbw/commands.rs +++ b/src/bin/rbw/commands.rs @@ -466,6 +466,13 @@ pub fn unlock() -> anyhow::Result<()> { Ok(()) } +pub fn unlocked() -> anyhow::Result<()> { + ensure_agent()?; + crate::actions::unlocked()?; + + Ok(()) +} + pub fn sync() -> anyhow::Result<()> { ensure_agent()?; crate::actions::login()?; -- cgit v1.2.3-54-g00ecf