build: add the X option to the stack directive.
This commit is contained in:
parent
67c5181ba9
commit
f3094cc741
6 changed files with 30 additions and 8 deletions
|
|
@ -7,6 +7,7 @@
|
|||
package directive
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"slices"
|
||||
"strings"
|
||||
|
||||
|
|
@ -30,6 +31,9 @@ func init() {
|
|||
}
|
||||
|
||||
func (d Exec) Apply(opt *Option, profileRaw string) (string, error) {
|
||||
if len(opt.ArgList) == 0 {
|
||||
return "", fmt.Errorf("No profile to exec")
|
||||
}
|
||||
transition := "Px"
|
||||
transitions := []string{"P", "U", "p", "u", "PU", "pu"}
|
||||
t := opt.ArgList[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue