cobra

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

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

)

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