MCPcopy
hub / github.com/kopia/kopia / Attach

Method Attach

cli/app.go:357–359  ·  view source on GitHub ↗

Attach attaches the CLI parser to the application.

(app *kingpin.Application)

Source from the content-addressed store, hash-verified

355
356// Attach attaches the CLI parser to the application.
357func (c *App) Attach(app *kingpin.Application) {
358 c.setup(app)
359}
360
361// safetyFlagVar defines c --safety=none|full flag that sets the SafetyParameters.
362func safetyFlagVar(cmd *kingpin.CmdClause, result *maintenance.SafetyParameters) {

Callers 3

mainFunction · 0.95
RunSubcommandMethod · 0.95
mainFunction · 0.80

Calls 1

setupMethod · 0.95

Tested by

no test coverage detected