github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/client/cmd_kvstore.go (about)

     1  // Copyright 2019 Keybase, Inc. All rights reserved. Use of
     2  // this source code is governed by the included BSD license.
     3  
     4  package client
     5  
     6  import (
     7  	"github.com/keybase/cli"
     8  	"github.com/keybase/client/go/libcmdline"
     9  	"github.com/keybase/client/go/libkb"
    10  )
    11  
    12  func NewCmdKVStore(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command {
    13  	subcommands := []cli.Command{
    14  		newCmdKVStoreAPI(cl, g),
    15  	}
    16  	return cli.Command{
    17  		Name:         "kvstore",
    18  		Usage:        "Manage a simple cleartext key to encrypted value store",
    19  		ArgumentHelp: "[arguments...]",
    20  		Subcommands:  subcommands,
    21  	}
    22  }