MCPcopy Create free account
hub / github.com/openclaw/gogcli / buildTargetRequests

Method buildTargetRequests

internal/cmd/docs_format.go:459–468  ·  view source on GitHub ↗
(target docsFormatTargetRange, tabID string)

Source from the content-addressed store, hash-verified

457}
458
459func (f DocsFormatFlags) buildTargetRequests(target docsFormatTargetRange, tabID string) ([]*docs.Request, error) {
460 options := f.options()
461 options.PostBulletParagraphStart = target.PostBulletStart
462 options.PostBulletParagraphEnd = target.PostBulletEnd
463 requests, err := docsformat.BuildRequests(options, target.StartIndex, target.EndIndex, tabID)
464 if err != nil {
465 return nil, usage(err.Error())
466 }
467 return requests, nil
468}
469
470func (f DocsFormatFlags) options() docsformat.Options {
471 return docsformat.Options{

Callers 1

RunMethod · 0.80

Calls 4

optionsMethod · 0.95
BuildRequestsFunction · 0.92
usageFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected