pesde 0.7.3

A package manager for the Luau programming language, supporting multiple runtimes including Roblox and Lune
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::cli::auth::set_token;
use clap::Args;

#[derive(Debug, Args)]
pub struct LogoutCommand;

impl LogoutCommand {
	pub async fn run(self, index_url: gix::Url) -> anyhow::Result<()> {
		set_token(&index_url, None).await?;

		println!("logged out of {index_url}");

		Ok(())
	}
}