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

Commits on Sep 26, 2023

  1. Add support to predefine CLI parameters using config

    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 committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    b6d3542 View commit details
    Browse the repository at this point in the history