Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to predefine CLI parameters using config #90

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

thschmitt
Copy link
Collaborator

Add support to specify default values for CLI parameters in the config profile, e.g:

profiles:
  - name: default
    parameter:
      project-id: ac47e9b2-6d98-48bb-9629-0c790211d20c

This allows users to simplify their commands and create profiles for different projects or other resources:

uipath du digitization start --project-id ac47e9b2-6d98-48bb-9629-0c790211d20c --file "my-document.pdf"

can be simplified:

uipath du digitization start --file "my-document.pdf"

Add support to specify default values for CLI parameters in the config
profile, e.g:

```
profiles:
  - name: default
    parameter:
      project-id: ac47e9b2-6d98-48bb-9629-0c790211d20c
```

This allows users to simplify their commands and create profiles for
different projects or other resources:

`uipath du digitization start --project-id ac47e9b2-6d98-48bb-9629-0c790211d20c --file "my-document.pdf"`

can be simplified:

`uipath du digitization start --file "my-document.pdf"`
@thschmitt thschmitt merged commit 17a981b into main Sep 26, 2023
3 checks passed
@thschmitt thschmitt deleted the feature/parameter-override-support branch February 12, 2024 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants