Documentation
¶
Overview ¶
Package shared provides shared helpers for the perms command tree.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GrantPrinter ¶
func GrantPrinter(f *factory.Factory, cfg format.OutputConfig) *format.Printer[backend.PermissionGrant]
GrantPrinter returns a Printer configured for PermissionGrant display.
func SubjectFromFlags ¶
func SubjectFromFlags(userSlug, groupName string) (backend.PermissionSubject, error)
SubjectFromFlags constructs a PermissionSubject from the --user / --group flag values. Exactly one of userSlug and groupName must be non-empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.