fermyon / cloud-plugin

A Spin plugin for the Spin CLI for managing Spin apps in Fermyon Cloud.
https://developer.fermyon.com/cloud/
Apache License 2.0
8 stars 13 forks source link

CLI should have a logout option #160

Closed flynnduism closed 11 months ago

flynnduism commented 11 months ago

I can spin login but not logout.

Current workaround is messy - looking through chats I can see some discussion of this - and found this to be true:

we use dirs::config_dir (https://crates.io/crates/dirs) for this

dirs::config_dir();
// Lin: Some(/home/alice/.config)
// Win: Some(C:\Users\Alice\AppData\Roaming)
// Mac: Some(/Users/Alice/Library/Application Support)
itowlson commented 11 months ago

I'm assuming this refers to cloud login rather than registry login so moving to cloud-plugin repo.