- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for DefaultCmds (0.13 sec)
-
src/cmd/go/internal/script/cmds.go
"os" "os/exec" "path/filepath" "regexp" "runtime" "strconv" "strings" "sync" "time" ) // DefaultCmds returns a set of broadly useful script commands. // // Run the 'help' command within a script engine to view a list of the available // commands. func DefaultCmds() map[string]Cmd { return map[string]Cmd{ "cat": Cat(), "cd": Cd(), "chmod": Chmod(), "cmp": Cmp(),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 28.5K bytes - Viewed (0) -
src/cmd/go/internal/script/engine.go
// section when starting a new section. Quiet bool } // NewEngine returns an Engine configured with a basic set of commands and conditions. func NewEngine() *Engine { return &Engine{ Cmds: DefaultCmds(), Conds: DefaultConds(), } } // A Cmd is a command that is available to a script. type Cmd interface { // Run begins running the command. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 27 01:16:19 UTC 2023 - 22.2K bytes - Viewed (0)