wrangler 1.21.0

Command-line interface for all things Cloudflare Workers
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::commands;
use crate::settings::global_user::GlobalUser;

use anyhow::Result;

pub fn whoami() -> Result<()> {
    log::info!("Getting User settings");

    commands::whoami(&GlobalUser::new()?)
}