github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/client/cmd_rekey_devel.go (about) 1 // Copyright 2016 Keybase, Inc. All rights reserved. Use of 2 // this source code is governed by the included BSD license. 3 // 4 //go:build !production 5 // +build !production 6 7 package client 8 9 import ( 10 "github.com/keybase/cli" 11 "github.com/keybase/client/go/libcmdline" 12 "github.com/keybase/client/go/libkb" 13 ) 14 15 // These are the devel rekey commands 16 func NewCmdRekey(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command { 17 return cli.Command{ 18 Name: "rekey", 19 Usage: "Rekey status and actions", 20 ArgumentHelp: "[status, paper, trigger]", 21 Subcommands: []cli.Command{ 22 NewCmdRekeyStatus(cl, g), 23 NewCmdRekeyPaper(cl, g), 24 NewCmdRekeyTrigger(cl, g), 25 }, 26 } 27 }