CLI Reference¶
auth¶
Authenticate with UiPath Cloud Platform.
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--cloud |
text | Use production environment | True |
--staging |
text | Use staging environment | False |
--alpha |
text | Use alpha environment | False |
-f , --force |
boolean | Force new token | False |
--help |
boolean | Show this message and exit. | False |
🔗 If a browser window did not open, please open the following URL in your browser: [LINK]
👇 Select tenant:
0: Tenant1
1: Tenant2
Select tenant number: 0
Selected tenant: Tenant1
✓ Authentication successful.
init¶
Create uipath.json with input/output schemas and bindings.
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--help |
boolean | Show this message and exit. | False |
Warning
The uipath init
command executes your main.py
file to analyze its structure and collect information about inputs and outputs.
✓ Created 'uipath.json' file.
run¶
Execute the project.
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--resume |
boolean | Resume execution from a previous state | False |
-f , --file |
path | File path for the .json input | None |
--help |
boolean | Show this message and exit. | False |
Warning
Depending on the shell you are using, it may be necessary to escape the input json:
pack¶
Pack the project.
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--help |
boolean | Show this message and exit. | False |
Packages your project into a .nupkg
file that can be deployed to UiPath.
Warning
Your pyproject.toml
must include:
- A description field (avoid characters: &, <, >, ", ', ;)
- Author information
Example:
Name : test
Version : 0.1.0
Description: Add your description here
Authors : Your Name
✓ Project successfully packaged.
publish¶
Publish the package.
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--tenant , -t |
text | Whether to publish to the tenant package feed | False |
--my-workspace , -w |
text | Whether to publish to the personal workspace | False |
--help |
boolean | Show this message and exit. | False |
Warning
To properly use the CLI for packaging and publishing, your project should include:
- A
pyproject.toml
file with project metadata - A
uipath.json
file (generated byuipath init
) - Any Python files needed for your automation
👇 Select package feed:
0: Orchestrator Tenant Processes Feed
1: Orchestrator Personal Workspace Feed
Select feed number: 0
Selected feed: Orchestrator Tenant Processes Feed
⠸ Publishing most recent package: test.0.1.0.nupkg ...
✓ Package published successfully!
deploy¶
Pack and publish the project.
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--tenant , -t |
text | Whether to publish to the tenant package feed | False |
--my-workspace , -w |
text | Whether to publish to the personal workspace | False |
--help |
boolean | Show this message and exit. | False |
invoke¶
Invoke an agent published in my workspace.
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
-f , --file |
path | File path for the .json input | None |
--help |
boolean | Show this message and exit. | False |
⠴ Starting job ...
✨ Job started successfully!
🔗 Monitor your job here: [LINK]