MCPcopy Create free account
hub / github.com/UiPath/uipathcli / createCacheCommand

Method createCacheCommand

commandline/command_builder.go:651–663  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

649}
650
651func (b CommandBuilder) createCacheCommand() *CommandDefinition {
652 flags := NewFlagBuilder().
653 AddHelpFlag().
654 Build()
655
656 subcommands := []*CommandDefinition{
657 b.createCacheClearCommand(),
658 }
659
660 return NewCommand("cache", "Caching-related commands", "Caching-related commands").
661 WithFlags(flags).
662 WithSubcommands(subcommands)
663}
664
665func (b CommandBuilder) createOfflineCommand() *CommandDefinition {
666 flags := NewFlagBuilder().

Callers 1

createConfigCommandMethod · 0.95

Calls 7

NewFlagBuilderFunction · 0.85
AddHelpFlagMethod · 0.80
WithSubcommandsMethod · 0.80
WithFlagsMethod · 0.80
NewCommandFunction · 0.70
BuildMethod · 0.45

Tested by

no test coverage detected