Home

go-spectre @d4934212c67e592cb5df119881fa8d9201dae278 - refs - log -
-
https://git.jolheiser.com/go-spectre.git
Go implementation for spectre/masterpassword
go-spectre / cmd / spectre / README.md
- raw -
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Spectre CLI

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

e.g. `--username` -> `SPECTRE_USERNAME`

### Usage

```text
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

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

spectre masterpasswordapp.com
# Jejr5[RepuSosp
```