MCPcopy Create free account
hub / github.com/diillson/chatcli / takeString

Function takeString

cli/scheduler_command.go:802–807  ·  view source on GitHub ↗
(args []string, i int)

Source from the content-addressed store, hash-verified

800}
801
802func takeString(args []string, i int) (string, int) {
803 if i+1 >= len(args) {
804 return "", i
805 }
806 return args[i+1], i + 1
807}
808
809// tokenizeSchedulerInput splits a /schedule, /wait, or /jobs argument
810// string into tokens while respecting single- and double-quoted spans

Callers 2

parseScheduleArgsFunction · 0.85
parseWaitArgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected