+3
-3
cmd/goat/account.go
+3
-3
cmd/goat/account.go
···
113
113
Action: runAccountServiceAuth,
114
114
},
115
115
&cli.Command{
116
-
Name: "service-auth-local",
116
+
Name: "service-auth-offline",
117
117
Usage: "create service auth token via locally-held signing key",
118
118
Flags: []cli.Flag{
119
119
&cli.StringFlag{
···
144
144
Usage: "validity time window of token (seconds)",
145
145
},
146
146
},
147
-
Action: runAccountServiceAuthLocal,
147
+
Action: runAccountServiceAuthOffline,
148
148
},
149
149
&cli.Command{
150
150
Name: "create",
···
405
405
return nil
406
406
}
407
407
408
-
func runAccountServiceAuthLocal(cctx *cli.Context) error {
408
+
func runAccountServiceAuthOffline(cctx *cli.Context) error {
409
409
privStr := cctx.String("atproto-signing-key")
410
410
if privStr == "" {
411
411
return fmt.Errorf("private key must be provided")