Documentation
¶
Overview ¶
package elevate provides support for executing commands with elevated privileges.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandBuilder ¶
type CommandBuilder struct {
// contains filtered or unexported fields
}
func WithIcon ¶
func WithIcon(icon string) *CommandBuilder
func WithPrompt ¶
func WithPrompt(prompt string) *CommandBuilder
func (*CommandBuilder) Command ¶
func (b *CommandBuilder) Command(name string, args ...string) *exec.Cmd
func (*CommandBuilder) WithIcon ¶
func (b *CommandBuilder) WithIcon(icon string) *CommandBuilder
func (*CommandBuilder) WithPrompt ¶
func (b *CommandBuilder) WithPrompt(prompt string) *CommandBuilder
Click to show internal directories.
Click to hide internal directories.