LibraLibra
LibraLibra
DocsBlogLibra
Getting Started
Architecture
Design
Commands
libra addlibra agentlibra alternateslibra applylibra archivelibra authlibra automationlibra bisectlibra blamelibra branchlibra bundlelibra cachelibra cat-filelibra check-attrlibra check-ignorelibra check-mailmaplibra checkoutlibra cherry-picklibra cleanlibra clonelibra cloudlibra code-controllibra codelibra commit-treelibra commitlibra completionslibra configlibra credentiallibra depslibra describelibra diff-fileslibra diff-indexlibra diff-treelibra difflibra dirtylibra fast-exportlibra fast-importlibra fetchlibra filelibra for-each-reflibra format-patchlibra fscklibra gclibra graphlibra greplibra hash-objectlibra hookslibra hydratelibra index-packlibra initlibra investigatelibra layerlibra lfslibra loglibra logfilelibra loginlibra logoutlibra ls-fileslibra ls-remotelibra ls-treelibra maintenancelibra medialibra merge-baselibra merge-filelibra mergelibra metadatalibra mvlibra noteslibra oplibra openlibra pack-objectslibra packagelibra prunelibra publishlibra pulllibra pushlibra read-treelibra rebaselibra refloglibra remotelibra repacklibra replacelibra rererelibra resetlibra restorelibra rev-listlibra rev-parselibra revertlibra reviewlibra revisionlibra rmlibra sandboxlibra servicelibra shortloglibra show-reflibra showlibra sparse-viewlibra stashlibra statslibra statuslibra switchlibra symbolic-reflibra taglibra update-indexlibra update-reflibra usagelibra verify-packlibra whoamilibra worktreelibra write-tree
API Reference
Policy
Commands

libra logout

Command reference for `libra logout`

Clear stored Libra host session tokens.

libra logout is a Libra-only extension (no Git equivalent). It removes the account.host.<host_sha256> session blob from the global config and, unless --local-only is given, first calls the host's /api/cli/logout to revoke the server-side token — if that call fails the command errors and the local token is left in place; use --local-only to drop the local token without contacting the host. It is independent of the credentials used by cloud / publish.

Options

FlagDescription
--host <url>Target host (defaults to the built-in host)
--allRemove stored tokens for every host
--local-onlyDelete the local token without calling the host to revoke it

Examples

libra logout
libra logout --host https://libra.tools --local-only
libra logout --all

libra login

Command reference for `libra login`

libra ls-files

Command reference for `libra ls-files`

On this page

OptionsExamples