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

Method options

internal/cmd/docs_format.go:470–505  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

468}
469
470func (f DocsFormatFlags) options() docsformat.Options {
471 return docsformat.Options{
472 FontFamily: f.FontFamily,
473 FontSize: f.FontSize,
474 TextColor: f.TextColor,
475 Background: f.BgColor,
476 Link: f.link,
477 ClearLink: f.noLink,
478 ResolvedLink: f.resolvedLink,
479 Code: f.Code,
480 Bold: f.Bold,
481 ClearBold: f.NoBold,
482 Italic: f.Italic,
483 ClearItalic: f.NoItalic,
484 Underline: f.Underline,
485 ClearUnderline: f.NoUnderline,
486 Strikethrough: f.Strikethrough,
487 ClearStrike: f.NoStrike,
488 Alignment: f.Alignment,
489 LineSpacing: f.LineSpacing,
490 SpacingMode: f.SpacingMode,
491 HeadingLevel: f.HeadingLevel,
492 NamedStyle: f.NamedStyle,
493 Bullets: f.Bullets,
494 Ordered: f.Ordered,
495 BulletPreset: f.BulletPreset,
496 ClearBullets: f.NoBullets,
497 IndentStart: f.IndentStart,
498 IndentFirstLine: f.IndentFirstLine,
499 IndentEnd: f.IndentEnd,
500 SpaceAbove: f.SpaceAbove,
501 SpaceBelow: f.SpaceBelow,
502 KeepWithNext: f.KeepWithNext,
503 KeepLinesTogether: f.KeepLinesTogether,
504 }
505}
506
507func docsFormatColor(hex, flag string) (*docs.OptionalColor, error) {
508 color, err := docsformat.Color(hex, flag)

Callers 3

anyMethod · 0.95
buildRequestsMethod · 0.95
buildTargetRequestsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected