generate

package
v1.19.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package generate implements the `syncthing generate` subcommand.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(confDir, guiUser, guiPassword string, noDefaultFolder, skipPortProbing bool) error

Types

type CLI

type CLI struct {
	cmdutil.CommonOptions
	GUIUser     string `placeholder:"STRING" help:"Specify new GUI authentication user name"`
	GUIPassword string `placeholder:"STRING" help:"Specify new GUI authentication password (use - to read from standard input)"`
}

func (*CLI) Run

func (c *CLI) Run() error

Jump to

Keyboard shortcuts

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