2023-04-04 14:11:09 +08:00
|
|
|
//go:build !windows
|
|
|
|
|
|
|
|
package uac
|
|
|
|
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
|
|
|
|
var Cmd = &cobra.Command{
|
|
|
|
Use: "uac",
|
|
|
|
Short: "run process with administrator permission",
|
2024-03-17 16:12:54 +08:00
|
|
|
Example: "b612 uac 'c:\\program.exe arg1 arg2'",
|
2023-04-04 14:11:09 +08:00
|
|
|
Hidden: true,
|
|
|
|
}
|