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

Method serviceVersionFromProfile

commandline/command_builder.go:780–786  ·  view source on GitHub ↗
(profile string)

Source from the content-addressed store, hash-verified

778}
779
780func (b CommandBuilder) serviceVersionFromProfile(profile string) string {
781 config := b.ConfigProvider.Config(profile)
782 if config == nil {
783 return ""
784 }
785 return config.ServiceVersion
786}
787
788func (b CommandBuilder) Create(args []string) ([]*CommandDefinition, error) {
789 serviceVersion := b.parseArgument(args, FlagNameServiceVersion)

Callers 1

CreateMethod · 0.95

Calls 1

ConfigMethod · 0.80

Tested by

no test coverage detected