• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

UiPath / uipathcli
90%
main: 91%

Build:
Build:
LAST BUILD BRANCH: feature/upgrade-openapi-specs
DEFAULT BRANCH: main
Repo Added 07 Oct 2023 02:25PM UTC
Files 132
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH feature/extend-plugin-parameters
branch: feature/extend-plugin-parameters
CHANGE BRANCH
x
Reset
  • feature/extend-plugin-parameters
  • feature/add-package-documentation
  • feature/analyze-feed-auth
  • feature/api-package
  • feature/avoid-escape-equal-sign
  • feature/clear-command
  • feature/code-coverage
  • feature/collect-coverage-all-os
  • feature/command-builder
  • feature/command-builder-refactor
  • feature/command-errors
  • feature/config-command-tenant-list
  • feature/configurable-attempts-and-timeout
  • feature/configure-tenant-list
  • feature/content-length-input
  • feature/custom-headers-plugins
  • feature/custom-operation-name
  • feature/custom-operation-names
  • feature/dataservice
  • feature/digitize-command-default-project
  • feature/download-dotnet-core-runtime
  • feature/folder-name
  • feature/github-actions-upgrade
  • feature/go-1.24
  • feature/go1.22.2
  • feature/go122
  • feature/governance-file
  • feature/http-proxy-support
  • feature/identity-client
  • feature/identity-uri
  • feature/improve-command-documentation
  • feature/improve-config-set-command
  • feature/improve-studio-project-compatibility-error-message
  • feature/library-feed-auth
  • feature/login-confidential-app
  • feature/network-package
  • feature/orchestrator-v17
  • feature/pack-output-type-validation
  • feature/pat-documentation
  • feature/plugins-offline
  • feature/project-builder
  • feature/project-pack
  • feature/publish-create-release
  • feature/readme-example-generative-extractor
  • feature/readme-examples
  • feature/readme-pat
  • feature/refresh-token-support
  • feature/rename-service-version
  • feature/restore-command
  • feature/security-policy
  • feature/split-plugin-tests
  • feature/split-tests
  • feature/split-tests-and-commands
  • feature/static-linking
  • feature/studio
  • feature/studio-folder-name
  • feature/studio-optional-parameters
  • feature/studio-package-publish
  • feature/studio-publish
  • feature/studio-publish-command
  • feature/test-on-windows-macos
  • feature/test-parallel
  • feature/test-run-command
  • feature/test-run-folder-id
  • feature/test-run-junit-robotlogs
  • feature/test-run-parallel
  • feature/test-run-readme
  • feature/test-sequence
  • feature/update-codeowners
  • feature/update-dependencies
  • feature/update-dependencies-12-2024
  • feature/update-deps-latest-minor
  • feature/update-examples
  • feature/update-latest-definitions-01-2024
  • feature/update-latest-definitions-08-2024
  • feature/update-latest-definitions-12-2024
  • feature/upgrade-dependencies-v2
  • feature/upgrade-deps
  • feature/upgrade-go-1.23
  • feature/upgrade-golangci-v2
  • feature/upgrade-openapi-specifications
  • feature/upgrade-openapi-specs
  • feature/uri-builder
  • feature/user-agent
  • feature/utils-split-up
  • feature/version-command
  • feature/version-flag
  • fix/library-auth-identity-url
  • fix/short-help-option
  • fix/show-example-usage-nested-object
  • fix/studio-package-progressbar
  • fix/uri-builder
  • fix/use-testdata-templates
  • main
  • refs/tags/plugins-v2.0.0
  • refs/tags/plugins.v2.0.0
  • refs/tags/plugins/v2.0.0
  • refs/tags/plugins_v2.0.0
  • refs/tags/v2.0.0-plugin
  • refs/tags/v2.0.0-uipcli

30 Apr 2025 06:07AM UTC coverage: 90.432% (+0.01%) from 90.419%
14747911552

Pull #187

github

thschmitt
Extend plugin paramters to support default value and allowed values

The core command executor already supports default values and a list
of allowed values for parameters. Extended the plugin parameters
to support these features as well to reduce custom handling in the
plugins themselves.

Changed the plugin command to use builder pattern for more complex
parameter configurations.

Example:

```
*plugin.NewCommand("myplugin").
  WithOperation("get", "Get Data", "Gets data from the API").
  WithParameter(plugin.NewParameter("filter", plugin.ParameterTypeString, "This is a filter").
    WithDefaultValue("all").
    WithAllowedValues([]interface{}{"all", "default", "none"}))
```
Pull Request #187: Extend plugin paramters to support default value and allowed values

99 of 99 new or added lines in 15 files covered. (100.0%)

2 existing lines in 1 file now uncovered.

6323 of 6992 relevant lines covered (90.43%)

1.02 hits per line

Relevant lines Covered
Build:
Build:
6992 RELEVANT LINES 6323 COVERED LINES
1.02 HITS PER LINE
Source Files on feature/extend-plugin-parameters
  • Tree
  • List 129
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
14747911552 feature/extend-plugin-parameters Extend plugin paramters to support default value and allowed values The core command executor already supports default values and a list of allowed values for parameters. Extended the plugin parameters to support these features as well to reduce ... Pull #187 30 Apr 2025 06:11AM UTC thschmitt github
90.43
14747848060 feature/extend-plugin-parameters Extend plugin paramters to support default value and allowed values The core command executor already supports default values and a list of allowed values for parameters. Extended the plugin parameters to support these features as well to reduce ... push 30 Apr 2025 06:07AM UTC thschmitt github
90.43
14728997756 feature/extend-plugin-parameters Extend plugin paramters to support default and allowed values The core command executor already supports default values and a list of allowed values for parameters. Extended the plugin parameters to support these features as well to reduce custom... push 29 Apr 2025 10:26AM UTC thschmitt github
90.43
See All Builds (323)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc