Access your Steam Guard token locally.
- Put a config file to your $HOME, this supported by https://github.com/dirs-dev/dirs-rs#example.
- Named the config file
.sg_cli.toml
, example is here: https://github.com/Vanilla-s-Lab/sg_cli/blob/master/example/sg_cli.toml. - Run sg_cli, it will shows current Steam Guard & expire time, this supported by https://github.com/SFort/steam_guard.
-h
,--help
: Show usage, this option generated by crates clap.-s
,--secret
: Specific Steam Guard secret instead of read from config.-V
,--version
: Show sg_cli tool version, 0.1.0 currently.
- you also can use
sg_cli | clipboard
to copy the verification code : ) - The CLI tools
clipboard-cli
: https://github.com/sindresorhus/clipboard-cli, that was useful.