createdb

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cli.Command{
	Name:  "createdb",
	Usage: "Create a new kdbx databse",
	Description: `
	To list entries

	kpcli \
		--keyfile <keyfile> \
		--name <xyx.kdbx> \
		--pass {password to encrypt/open kdbx} \
		createdb

	Example:

		kpcli \
			--keyfile ./tmp/master-db.key \
			--pass 'super_secret' \
			--db ./tmp/master-db.kdbx \
			createdb
	`,

	Action: runCreate,
	Flags:  []cli.Flag{},
}

Functions

func ReadPassword

func ReadPassword(item string) string

Types

type Options

type Options struct {
	Pass     string
	Key      string
	Database string
}

Jump to

Keyboard shortcuts

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