Home

go-spectre @main - refs - log -
-
https://git.jolheiser.com/go-spectre.git
Go implementation for spectre/masterpassword
go-spectre / cmd / spectre
..
-rw-r--r--
1.1 kB
README.md
-rw-r--r--
3.7 kB
main.go
-rw-r--r--
1.3 kB
main_test.go

Spectre CLI

All flags can be supplied as environment variables starting with SPECTRE_*

e.g. --username -> SPECTRE_USERNAME

Usage

spectre [FLAGS] [site]
  -S value
        --scope
  -b string
        --base (default "com.lyndir.masterpassword")
  -base string
        scoper base (default "com.lyndir.masterpassword")
  -c int
        --counter (default 1)
  -counter int
        counter (default 1)
  -f string
        --secret-file
  -print
        Print out password instead of copying to clipboard
  -s string
        --secret
  -scope value
        scope [authentication, identification, recovery]
  -secret string
        secret
  -secret-file string
        Path to a file containing --secret
  -t value
        --template
  -template value
        template [maximum, long, medium, short, pin, name, phrase, basic]
  -u string
        --username
  -username string
        username

Example

export SPECTRE_USERNAME="Robert Lee Mitchell"
export SPECTRE_SECRET="banana colored duckling"

spectre masterpasswordapp.com
# Jejr5[RepuSosp