upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/sub_commands/login.rs
blob: d61f578e7fbf2ca6d48d9e50300c437ef1ba9731 (plain)
1
2
3
4
5
6
7
8
9
10
11
use anyhow::Result;
use clap;

use crate::{login, Cli};

#[derive(clap::Args)]
pub struct SubCommandArgs;

pub fn launch(args: &Cli, _command_args: &SubCommandArgs) -> Result<()> {
    login::launch(&args.nsec)
}