grant

package
v1.135.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdGrant

func NewCmdGrant(f *factory.Factory, runF func(*Options) error) *cobra.Command

NewCmdGrant builds the `perms project grant` cobra command.

Types

type Options

type Options struct {
	Hostname  string
	UserSlug  string
	GroupName string
	Confirm   bool
	// Args[0] = PROJECT, Args[1] = PERM
	Args []string
}

Options holds parsed flags for `perms project grant`.

Jump to

Keyboard shortcuts

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