← 返回命令列表

Linux command

andcli 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Open an Aegis encrypted backup

andcli -t aegis [path/to/backup.json]

Open an andOTP backup file

andcli [path/to/backup.json]

Open a KeePass database

andcli -t keepass [path/to/database.kdbx]

Specify a custom clipboard command

andcli -c [pbcopy] [path/to/backup]

Read password from stdin

echo "[password]" | andcli --passwd-stdin [path/to/backup]

说明

andcli is a terminal user interface for managing TOTP two-factor authentication tokens. It reads encrypted backup files exported from popular authenticator apps including andOTP, Aegis, 2FAS, Stratum/Authenticator Pro, KeePass (.kdbx), and ProtonPass, then displays the tokens in an interactive TUI. All data remains in memory and is never written to disk. Written in Go using the Bubbletea TUI framework, it supports vim-style navigation (j/k), fuzzy search (/), token visibility toggling (Enter), and clipboard copying (c/y).

参数

-t, --type _type_
Vault type: aegis, andotp, twofas, stratum, keepass, or proton
-c, --clipboard-cmd _command_
Custom clipboard command (e.g., xclip, pbcopy)
--passwd-stdin
Read decryption password from stdin
-v, --version
Print version information
-h, --help
Print help information

FAQ

What is the andcli command used for?

andcli is a terminal user interface for managing TOTP two-factor authentication tokens. It reads encrypted backup files exported from popular authenticator apps including andOTP, Aegis, 2FAS, Stratum/Authenticator Pro, KeePass (.kdbx), and ProtonPass, then displays the tokens in an interactive TUI. All data remains in memory and is never written to disk. Written in Go using the Bubbletea TUI framework, it supports vim-style navigation (j/k), fuzzy search (/), token visibility toggling (Enter), and clipboard copying (c/y).

How do I run a basic andcli example?

Run `andcli -t aegis [path/to/backup.json]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -t, --type _type_ do in andcli?

Vault type: aegis, andotp, twofas, stratum, keepass, or proton