config

package
v0.0.0-...-61a4702 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// URI to an andOTP encrypted backup file
	//
	// Supports two sources:
	//   - local file (e.g. file:///home/myuser/otp_accounts.json.aes)
	//   - KDE connect exposed device filesystem (e.g. kdeconnect://_/device-name-or-id/path/to/otp_accounts.json.aes)
	BackupFileURI *url.URL
}

Configuration used to start the interactive CLI

func ParseCmdConfig

func ParseCmdConfig(cmdConfig *cmdconfig.Config) (*Config, error)

Jump to

Keyboard shortcuts

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