MCPcopy Create free account
hub / github.com/aptly-dev/aptly / Flags

Method Flags

context/context.go:585–590  ·  view source on GitHub ↗

Flags returns current command flags

()

Source from the content-addressed store, hash-verified

583
584// Flags returns current command flags
585func (context *AptlyContext) Flags() *flag.FlagSet {
586 context.Lock()
587 defer context.Unlock()
588
589 return context.flags
590}
591
592// GlobalFlags returns flags passed to all commands
593func (context *AptlyContext) GlobalFlags() *flag.FlagSet {

Callers 15

aptlyMirrorShowTxtFunction · 0.80
aptlyMirrorShowJSONFunction · 0.80
aptlyPackageShowFunction · 0.80
aptlyRepoCreateFunction · 0.80
aptlyConfigShowFunction · 0.80
aptlySnapshotDropFunction · 0.80
aptlyPublishSourceUpdateFunction · 0.80
aptlyPublishSourceRemoveFunction · 0.80
aptlyMirrorCreateFunction · 0.80
aptlyPublishSourceAddFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected