cobra

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FormatEthStatic = "eth-static" // Will generate the same JSON keystore file each time

)

Variables

View Source
var FormatList = []string{
	formatSec,
	formatPub,
	formatAddr,
	formatEth,
	FormatEthStatic,
	formatEthPlain,
	formatSSB,
	formatCaps,
	formatOnionV3,
}

Functions

func GenerateSeed

func GenerateSeed(opts *Options) *cobra.Command

func NewDerive

func NewDerive(opts *Options) *cobra.Command

func NewList

func NewList(opts *Options) *cobra.Command

func NonEmptyStdIn

func NonEmptyStdIn() (*os.File, error)

Types

type Options

type Options struct {
	InputFile string
	Verbose   bool
}

func Command

func Command() (*Options, *cobra.Command)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL