Download src/cli/handlers/auth.ts from chenbhao/codev: direct link, hf CLI and curl.
- Browser
- Download file 651 Bytes
-
https://huggingface.co/chenbhao/codev/resolve/afbc7edaae4e6bb0102ba024b49ce8be89d2264c/src/cli/handlers/auth.ts
- Command line
-
hf download hf://chenbhao/codev@afbc7edaae4e6bb0102ba024b49ce8be89d2264c/src/cli/handlers/auth.ts
-
curl -L -o auth.ts https://huggingface.co/chenbhao/codev/resolve/afbc7edaae4e6bb0102ba024b49ce8be89d2264c/src/cli/handlers/auth.ts
651 Bytes
| /** | |
| * Auth command handlers | |
| * These handlers are used by the CLI auth commands | |
| */ | |
| export async function installOAuthTokens(result: any): Promise<void> { | |
| console.error('Install OAuth tokens handler not implemented'); | |
| process.exit(1); | |
| } | |
| export async function authLogin(options: any): Promise<void> { | |
| console.error('Auth login handler not implemented'); | |
| process.exit(1); | |
| } | |
| export async function authLogout(): Promise<void> { | |
| console.error('Auth logout handler not implemented'); | |
| process.exit(1); | |
| } | |
| export async function authStatus(opts: any): Promise<void> { | |
| console.error('Auth status handler not implemented'); | |
| process.exit(1); | |
| } |