Files
iris-context/commands/sys/codesign.go
T
VERSE ebde9ba68f refactor(commands): separate commands and its core into two folders (#32)
- I think it would be better if one for commands only, one for the spec
handling core logic so people won't be confused by the core logic inside
the commands folder (cleaner I guess)
- Regen docs
2026-07-05 11:27:30 +07:00

21 lines
812 B
Go

package sys
import (
"github.com/versenilvis/iris/spec"
)
func init() {
spec.Register(&spec.Spec{
Name: "codesign",
Description: "Create and manipulate code signatures",
Options: []spec.Option{
{Name: "--all-architectures", Description: "Display information about the code at the path(s) given"},
{Name: "-D", Description: "Constructs and prints the hosting chain of a running program"},
{Name: "-i", Description: "Indicates the granularity of code signing. Pagesize must be a power of two"},
{Name: "-r", Description: "Sign the code at the path(s) given using this identity"},
{Name: "-v", Description: "Requests verification of code signatures"},
{Name: "--continue", Description: "During static validation, do not validate the contents of the code's resources"},
},
})
}