command

package
v0.0.0-...-d1eb686 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Filesystem  afero.Fs
	DashlaneDir string
)
View Source
var RootCmd = &cobra.Command{
	Use:   "dashlane-cli",
	Short: "Command line tool to decrypt your dashlane vault and access passwords",
	Long: `dashlane-cli is the main command, used to access the vault.

Complete documentation is available at https://github.com/masterzen/dashlane-cli.
`,

	Run: func(cmd *cobra.Command, args []string) {
		if verbose {
			jww.SetStdoutThreshold(jww.LevelDebug)
		} else {
			jww.SetStdoutThreshold(jww.LevelInfo)
		}
	},
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute() error

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func InitMemFS

func InitMemFS()

func InitOSFS

func InitOSFS()

Types

This section is empty.

Jump to

Keyboard shortcuts

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