@uipath/cli 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +195 -195
  2. package/dist/index.js +63 -74
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,195 +1,195 @@
1
- # UiPath CLI (`uip`)
2
-
3
- A command-line interface tool for interacting with UiPath Cloud services. The CLI provides authentication, session management, and a plugin system for extending functionality with additional tools.
4
-
5
- ## Installation
6
-
7
- ### Using npm
8
-
9
- ```bash
10
- npm install -g @uipath/cli
11
- ```
12
-
13
- ### Using bun
14
-
15
- ```bash
16
- bun install -g @uipath/cli
17
- ```
18
-
19
- After installation, the `uip` command will be available globally.
20
-
21
- ## Quick Start
22
-
23
- 1. **Login to UiPath Cloud**
24
- ```bash
25
- uip login
26
- ```
27
-
28
- 2. **Check your login status**
29
- ```bash
30
- uip login-status
31
- ```
32
-
33
- 3. **View available commands**
34
- ```bash
35
- uip --help
36
- ```
37
-
38
- ## Commands
39
-
40
- ### Authentication
41
-
42
- #### `uip login`
43
-
44
- Authenticate with UiPath Cloud using interactive OAuth login.
45
-
46
- **Options:**
47
- - `-f, --file <folder>` - Path to credentials folder (default: `.uipath`)
48
- - `--authority <url>` - Custom authority URL
49
- - `--client-id <id>` - Custom Client ID
50
- - `-s, --scope <scopes>` - Custom scopes (space separated)
51
- - `-t, --tenant <name>` - Tenant name (non-interactive mode)
52
- - `--it, --interactive` - Interactively select tenant from list
53
-
54
- **Examples:**
55
- ```bash
56
- # Basic interactive login
57
- uip login
58
-
59
- # Login with custom credentials folder
60
- uip login -f /path/to/my-folder
61
-
62
- # Login with specific tenant
63
- uip login -t my-tenant-name
64
-
65
- # Interactive tenant selection
66
- uip login --interactive
67
- ```
68
-
69
- #### `uip login-status`
70
-
71
- Display current login status and session information.
72
-
73
- **Options:**
74
- - `-f, --file <folder>` - Path to credentials folder (default: `.uipath`)
75
-
76
- **Example:**
77
- ```bash
78
- uip login-status
79
- ```
80
-
81
- **Output:**
82
- ```
83
- ✅ Logged in
84
- Organization ID: abc123...
85
- Base URL: https://cloud.uipath.com
86
- ```
87
-
88
- ### Tool Management
89
-
90
- The CLI supports a plugin system that allows you to extend functionality by installing additional tools.
91
-
92
- #### `uip tools installed`
93
-
94
- List all currently installed tools.
95
-
96
- **Example:**
97
- ```bash
98
- uip tools installed
99
- ```
100
-
101
- **Output:**
102
- ```
103
- 🔧 Installed Tools:
104
-
105
- ✓ automation-tool v1.0.0
106
- Command: uip automation
107
- Automate workflows and processes
108
- ```
109
-
110
- #### `uip tools search [query]`
111
-
112
- Search for available tools in the configured registry.
113
-
114
- **Example:**
115
- ```bash
116
- # Search for tools
117
- uip tools search automation
118
-
119
- # Interactive search (prompts for query)
120
- uip tools search
121
- ```
122
-
123
- **Output:**
124
- ```
125
- 🔍 Searching for 'automation'...
126
-
127
- 📦 Found: @uipath/automation-tool (v1.0.0)
128
- Description: Automate workflows and processes
129
- Publisher: uipath
130
-
131
- To install: uip tools install <package-name>
132
- ```
133
-
134
- #### `uip tools install <package-name>`
135
-
136
- Install a tool from the registry.
137
-
138
- **Example:**
139
- ```bash
140
- uip tools install @uipath/automation-tool
141
- ```
142
-
143
- **Output:**
144
- ```
145
- 📦 Installing '@uipath/automation-tool'...
146
- ✅ Successfully installed @uipath/automation-tool
147
- ```
148
-
149
- ## Getting Help
150
-
151
- - View all available commands: `uip --help`
152
- - View help for a specific command: `uip <command> --help`
153
- - View version: `uip --version`
154
-
155
- ## Troubleshooting
156
-
157
- ### Not logged in error
158
-
159
- If you see `❌ Not logged in`, run `uip login` to authenticate.
160
-
161
- ### Tool not found after installation
162
-
163
- After installing a new tool with `uip tools install`, you may need to restart your terminal or CLI session for the tool to become available.
164
-
165
- ### Authentication issues
166
-
167
- If you're having trouble logging in, try:
168
- 1. Check your internet connection
169
- 2. Verify your credentials
170
- 3. Use `uip login --interactive` to manually select your tenant
171
-
172
- ## For Developers
173
-
174
- ### Development Setup
175
-
176
- To work on the CLI locally:
177
-
178
- ```bash
179
- # Install dependencies
180
- bun install
181
-
182
- # Run in development mode
183
- bun run index.ts
184
-
185
- # Build the project
186
- bun run build
187
-
188
- # Run tests
189
- bun test
190
- ```
191
-
192
- ### Contributing
193
-
194
- For bug reports and feature requests, please visit the [GitHub repository](https://github.com/UiPath/uipcli).
195
-
1
+ # UiPath CLI (`uip`)
2
+
3
+ A command-line interface tool for interacting with UiPath Cloud services. The CLI provides authentication, session management, and a plugin system for extending functionality with additional tools.
4
+
5
+ ## Installation
6
+
7
+ ### Using npm
8
+
9
+ ```bash
10
+ npm install -g @uipath/cli
11
+ ```
12
+
13
+ ### Using bun
14
+
15
+ ```bash
16
+ bun install -g @uipath/cli
17
+ ```
18
+
19
+ After installation, the `uip` command will be available globally.
20
+
21
+ ## Quick Start
22
+
23
+ 1. **Login to UiPath Cloud**
24
+ ```bash
25
+ uip login
26
+ ```
27
+
28
+ 2. **Check your login status**
29
+ ```bash
30
+ uip login-status
31
+ ```
32
+
33
+ 3. **View available commands**
34
+ ```bash
35
+ uip --help
36
+ ```
37
+
38
+ ## Commands
39
+
40
+ ### Authentication
41
+
42
+ #### `uip login`
43
+
44
+ Authenticate with UiPath Cloud using interactive OAuth login.
45
+
46
+ **Options:**
47
+ - `-f, --file <folder>` - Path to credentials folder (default: `.uipath`)
48
+ - `--authority <url>` - Custom authority URL
49
+ - `--client-id <id>` - Custom Client ID
50
+ - `-s, --scope <scopes>` - Custom scopes (space separated)
51
+ - `-t, --tenant <name>` - Tenant name (non-interactive mode)
52
+ - `--it, --interactive` - Interactively select tenant from list
53
+
54
+ **Examples:**
55
+ ```bash
56
+ # Basic interactive login
57
+ uip login
58
+
59
+ # Login with custom credentials folder
60
+ uip login -f /path/to/my-folder
61
+
62
+ # Login with specific tenant
63
+ uip login -t my-tenant-name
64
+
65
+ # Interactive tenant selection
66
+ uip login --interactive
67
+ ```
68
+
69
+ #### `uip login-status`
70
+
71
+ Display current login status and session information.
72
+
73
+ **Options:**
74
+ - `-f, --file <folder>` - Path to credentials folder (default: `.uipath`)
75
+
76
+ **Example:**
77
+ ```bash
78
+ uip login-status
79
+ ```
80
+
81
+ **Output:**
82
+ ```
83
+ ✅ Logged in
84
+ Organization ID: abc123...
85
+ Base URL: https://cloud.uipath.com
86
+ ```
87
+
88
+ ### Tool Management
89
+
90
+ The CLI supports a plugin system that allows you to extend functionality by installing additional tools.
91
+
92
+ #### `uip tools installed`
93
+
94
+ List all currently installed tools.
95
+
96
+ **Example:**
97
+ ```bash
98
+ uip tools installed
99
+ ```
100
+
101
+ **Output:**
102
+ ```
103
+ 🔧 Installed Tools:
104
+
105
+ ✓ automation-tool v1.0.0
106
+ Command: uip automation
107
+ Automate workflows and processes
108
+ ```
109
+
110
+ #### `uip tools search [query]`
111
+
112
+ Search for available tools in the configured registry.
113
+
114
+ **Example:**
115
+ ```bash
116
+ # Search for tools
117
+ uip tools search automation
118
+
119
+ # Interactive search (prompts for query)
120
+ uip tools search
121
+ ```
122
+
123
+ **Output:**
124
+ ```
125
+ 🔍 Searching for 'automation'...
126
+
127
+ 📦 Found: @uipath/automation-tool (v1.0.0)
128
+ Description: Automate workflows and processes
129
+ Publisher: uipath
130
+
131
+ To install: uip tools install <package-name>
132
+ ```
133
+
134
+ #### `uip tools install <package-name>`
135
+
136
+ Install a tool from the registry.
137
+
138
+ **Example:**
139
+ ```bash
140
+ uip tools install @uipath/automation-tool
141
+ ```
142
+
143
+ **Output:**
144
+ ```
145
+ 📦 Installing '@uipath/automation-tool'...
146
+ ✅ Successfully installed @uipath/automation-tool
147
+ ```
148
+
149
+ ## Getting Help
150
+
151
+ - View all available commands: `uip --help`
152
+ - View help for a specific command: `uip <command> --help`
153
+ - View version: `uip --version`
154
+
155
+ ## Troubleshooting
156
+
157
+ ### Not logged in error
158
+
159
+ If you see `❌ Not logged in`, run `uip login` to authenticate.
160
+
161
+ ### Tool not found after installation
162
+
163
+ After installing a new tool with `uip tools install`, you may need to restart your terminal or CLI session for the tool to become available.
164
+
165
+ ### Authentication issues
166
+
167
+ If you're having trouble logging in, try:
168
+ 1. Check your internet connection
169
+ 2. Verify your credentials
170
+ 3. Use `uip login --interactive` to manually select your tenant
171
+
172
+ ## For Developers
173
+
174
+ ### Development Setup
175
+
176
+ To work on the CLI locally:
177
+
178
+ ```bash
179
+ # Install dependencies
180
+ bun install
181
+
182
+ # Run in development mode
183
+ bun run index.ts
184
+
185
+ # Build the project
186
+ bun run build
187
+
188
+ # Run tests
189
+ bun test
190
+ ```
191
+
192
+ ### Contributing
193
+
194
+ For bug reports and feature requests, please visit the [GitHub repository](https://github.com/UiPath/uipcli).
195
+
package/dist/index.js CHANGED
@@ -6847,7 +6847,7 @@ class SimpleLogger {
6847
6847
  return 0 /* DEBUG */;
6848
6848
  }
6849
6849
  try {
6850
- if (typeof localStorage !== "undefined" && localStorage.getItem("debug")) {
6850
+ if (typeof process === "undefined" && typeof localStorage !== "undefined" && localStorage.getItem("debug")) {
6851
6851
  return 0 /* DEBUG */;
6852
6852
  }
6853
6853
  } catch {}
@@ -10725,7 +10725,7 @@ var require_types2 = __commonJS((exports) => {
10725
10725
 
10726
10726
  // ../../node_modules/applicationinsights/out/src/shim/shim-jsonConfig.js
10727
10727
  var require_shim_jsonConfig = __commonJS((exports) => {
10728
- var __dirname = "D:\\GitHub\\Alpha\\uipcli\\node_modules\\applicationinsights\\out\\src\\shim";
10728
+ var __dirname = "/Users/alexandru.oltean/github/uipcli/node_modules/applicationinsights/out/src/shim";
10729
10729
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
10730
10730
  if (k2 === undefined)
10731
10731
  k2 = k;
@@ -28662,13 +28662,13 @@ var require_minimal = __commonJS((exports) => {
28662
28662
  util.global = util.isNode && global || typeof window !== "undefined" && window || typeof self !== "undefined" && self || exports;
28663
28663
  util.emptyArray = Object.freeze ? Object.freeze([]) : [];
28664
28664
  util.emptyObject = Object.freeze ? Object.freeze({}) : {};
28665
- util.isInteger = Number.isInteger || function isInteger(value) {
28665
+ util.isInteger = Number.isInteger || function isInteger2(value) {
28666
28666
  return typeof value === "number" && isFinite(value) && Math.floor(value) === value;
28667
28667
  };
28668
28668
  util.isString = function isString(value) {
28669
28669
  return typeof value === "string" || value instanceof String;
28670
28670
  };
28671
- util.isObject = function isObject(value) {
28671
+ util.isObject = function isObject4(value) {
28672
28672
  return value && typeof value === "object";
28673
28673
  };
28674
28674
  util.isset = util.isSet = function isSet(obj, prop) {
@@ -28821,7 +28821,7 @@ var require_writer = __commonJS((exports, module) => {
28821
28821
  this.tail = this.head;
28822
28822
  this.states = null;
28823
28823
  }
28824
- var create = function create() {
28824
+ var create = function create2() {
28825
28825
  return util.Buffer ? function create_buffer_setup() {
28826
28826
  return (Writer.create = function create_buffer() {
28827
28827
  return new BufferWriter;
@@ -29045,12 +29045,12 @@ var require_reader = __commonJS((exports, module) => {
29045
29045
  if (buffer instanceof Uint8Array || Array.isArray(buffer))
29046
29046
  return new Reader(buffer);
29047
29047
  throw Error("illegal buffer");
29048
- } : function create_array(buffer) {
29048
+ } : function create_array2(buffer) {
29049
29049
  if (Array.isArray(buffer))
29050
29050
  return new Reader(buffer);
29051
29051
  throw Error("illegal buffer");
29052
29052
  };
29053
- var create = function create() {
29053
+ var create = function create2() {
29054
29054
  return util.Buffer ? function create_buffer_setup(buffer) {
29055
29055
  return (Reader.create = function create_buffer(buffer2) {
29056
29056
  return util.Buffer.isBuffer(buffer2) ? new BufferReader(buffer2) : create_array(buffer2);
@@ -48006,7 +48006,7 @@ var require_codegen = __commonJS((exports, module) => {
48006
48006
  while (formatOffset < formatParams.length)
48007
48007
  formatParams[formatOffset] = arguments[++formatOffset];
48008
48008
  formatOffset = 0;
48009
- formatStringOrScope = formatStringOrScope.replace(/%([%dfijs])/g, function replace($0, $1) {
48009
+ formatStringOrScope = formatStringOrScope.replace(/%([%dfijs])/g, function replace2($0, $1) {
48010
48010
  var value = formatParams[formatOffset++];
48011
48011
  switch ($1) {
48012
48012
  case "d":
@@ -48089,10 +48089,10 @@ var require_fetch = __commonJS((exports, module) => {
48089
48089
  // ../../node_modules/@protobufjs/path/index.js
48090
48090
  var require_path = __commonJS((exports) => {
48091
48091
  var path = exports;
48092
- var isAbsolute = path.isAbsolute = function isAbsolute(path2) {
48092
+ var isAbsolute = path.isAbsolute = function isAbsolute2(path2) {
48093
48093
  return /^(?:\/|\w+:)/.test(path2);
48094
48094
  };
48095
- var normalize = path.normalize = function normalize(path2) {
48095
+ var normalize = path.normalize = function normalize2(path2) {
48096
48096
  path2 = path2.replace(/\\/g, "/").replace(/\/{2,}/g, "/");
48097
48097
  var parts = path2.split("/"), absolute = isAbsolute(path2), prefix = "";
48098
48098
  if (absolute)
@@ -48210,7 +48210,7 @@ var require_namespace = __commonJS((exports, module) => {
48210
48210
  return this.nested[name].values;
48211
48211
  throw Error("no such enum: " + name);
48212
48212
  };
48213
- Namespace.prototype.add = function add(object) {
48213
+ Namespace.prototype.add = function add2(object) {
48214
48214
  if (!(object instanceof Field && object.extend !== undefined || object instanceof Type2 || object instanceof OneOf || object instanceof Enum || object instanceof Service || object instanceof Namespace))
48215
48215
  throw TypeError("object must be a valid nested object");
48216
48216
  if (!this.nested)
@@ -48257,7 +48257,7 @@ var require_namespace = __commonJS((exports, module) => {
48257
48257
  object.onRemove(this);
48258
48258
  return clearCache(this);
48259
48259
  };
48260
- Namespace.prototype.define = function define(path, json2) {
48260
+ Namespace.prototype.define = function define2(path, json2) {
48261
48261
  if (util.isString(path))
48262
48262
  path = path.split(".");
48263
48263
  else if (!Array.isArray(path))
@@ -48580,7 +48580,7 @@ var require_service2 = __commonJS((exports, module) => {
48580
48580
  });
48581
48581
  return this;
48582
48582
  };
48583
- Service.prototype.add = function add(object) {
48583
+ Service.prototype.add = function add2(object) {
48584
48584
  if (this.get(object.name))
48585
48585
  throw Error("duplicate name '" + object.name + "' in " + this);
48586
48586
  if (object instanceof Method) {
@@ -49225,7 +49225,7 @@ var require_type = __commonJS((exports, module) => {
49225
49225
  Type2.prototype.get = function get(name) {
49226
49226
  return this.fields[name] || this.oneofs && this.oneofs[name] || this.nested && this.nested[name] || null;
49227
49227
  };
49228
- Type2.prototype.add = function add(object) {
49228
+ Type2.prototype.add = function add2(object) {
49229
49229
  if (this.get(object.name))
49230
49230
  throw Error("duplicate name '" + object.name + "' in " + this);
49231
49231
  if (object instanceof Field && object.extend === undefined) {
@@ -49374,14 +49374,14 @@ var require_root2 = __commonJS((exports, module) => {
49374
49374
  Root.prototype.resolvePath = util.path.resolve;
49375
49375
  Root.prototype.fetch = util.fetch;
49376
49376
  function SYNC() {}
49377
- Root.prototype.load = function load(filename, options, callback) {
49377
+ Root.prototype.load = function load2(filename, options, callback) {
49378
49378
  if (typeof options === "function") {
49379
49379
  callback = options;
49380
49380
  options = undefined;
49381
49381
  }
49382
49382
  var self2 = this;
49383
49383
  if (!callback) {
49384
- return util.asPromise(load, self2, filename, options);
49384
+ return util.asPromise(load2, self2, filename, options);
49385
49385
  }
49386
49386
  var sync = callback === SYNC;
49387
49387
  function finish(err, root) {
@@ -49590,7 +49590,7 @@ var require_util6 = __commonJS((exports, module) => {
49590
49590
  util.fetch = require_fetch();
49591
49591
  util.path = require_path();
49592
49592
  util.fs = util.inquire("fs");
49593
- util.toArray = function toArray(object) {
49593
+ util.toArray = function toArray2(object) {
49594
49594
  if (object) {
49595
49595
  var keys = Object.keys(object), array = new Array(keys.length), index = 0;
49596
49596
  while (index < keys.length)
@@ -49659,7 +49659,7 @@ var require_util6 = __commonJS((exports, module) => {
49659
49659
  Object.defineProperty(object, "$type", { value: enm, enumerable: false });
49660
49660
  return enm;
49661
49661
  };
49662
- util.setProperty = function setProperty(dst, path, value, ifNotSet) {
49662
+ util.setProperty = function setProperty2(dst, path, value, ifNotSet) {
49663
49663
  function setProp(dst2, path2, value2) {
49664
49664
  var part = path2.shift();
49665
49665
  if (part === "__proto__" || part === "prototype") {
@@ -50021,7 +50021,7 @@ var require_oneof = __commonJS((exports, module) => {
50021
50021
  oneof.parent.add(oneof.fieldsArray[i2]);
50022
50022
  }
50023
50023
  }
50024
- OneOf.prototype.add = function add(field) {
50024
+ OneOf.prototype.add = function add2(field) {
50025
50025
  if (!(field instanceof Field))
50026
50026
  throw TypeError("field must be a Field");
50027
50027
  if (field.parent && field.parent !== this.parent)
@@ -50249,7 +50249,7 @@ var require_object = __commonJS((exports, module) => {
50249
50249
  this.setOption(keys[i2], options[keys[i2]], ifNotSet);
50250
50250
  return this;
50251
50251
  };
50252
- ReflectionObject.prototype.toString = function toString() {
50252
+ ReflectionObject.prototype.toString = function toString2() {
50253
50253
  var className = this.constructor.className, fullName = this.fullName;
50254
50254
  if (fullName.length)
50255
50255
  return className + " " + fullName;
@@ -50326,7 +50326,7 @@ var require_enum = __commonJS((exports, module) => {
50326
50326
  keepComments ? this.comments : undefined
50327
50327
  ]);
50328
50328
  };
50329
- Enum.prototype.add = function add(name, id, comment, options) {
50329
+ Enum.prototype.add = function add2(name, id, comment, options) {
50330
50330
  if (!util.isString(name))
50331
50331
  throw TypeError("name must be a string");
50332
50332
  if (!util.isInteger(id))
@@ -54432,7 +54432,7 @@ var require_umd = __commonJS((exports, module) => {
54432
54432
  return (this.high >>> 0) * TWO_PWR_32_DBL + (this.low >>> 0);
54433
54433
  return this.high * TWO_PWR_32_DBL + (this.low >>> 0);
54434
54434
  };
54435
- LongPrototype.toString = function toString(radix) {
54435
+ LongPrototype.toString = function toString2(radix) {
54436
54436
  radix = radix || 10;
54437
54437
  if (radix < 2 || 36 < radix)
54438
54438
  throw RangeError("radix");
@@ -54556,7 +54556,7 @@ var require_umd = __commonJS((exports, module) => {
54556
54556
  return this.not().add(ONE);
54557
54557
  };
54558
54558
  LongPrototype.neg = LongPrototype.negate;
54559
- LongPrototype.add = function add(addend) {
54559
+ LongPrototype.add = function add2(addend) {
54560
54560
  if (!isLong(addend))
54561
54561
  addend = fromValue(addend);
54562
54562
  var a48 = this.high >>> 16;
@@ -54643,7 +54643,7 @@ var require_umd = __commonJS((exports, module) => {
54643
54643
  return fromBits(c16 << 16 | c00, c48 << 16 | c32, this.unsigned);
54644
54644
  };
54645
54645
  LongPrototype.mul = LongPrototype.multiply;
54646
- LongPrototype.divide = function divide(divisor) {
54646
+ LongPrototype.divide = function divide2(divisor) {
54647
54647
  if (!isLong(divisor))
54648
54648
  divisor = fromValue(divisor);
54649
54649
  if (divisor.isZero())
@@ -55073,7 +55073,7 @@ var require_src26 = __commonJS((exports) => {
55073
55073
 
55074
55074
  // ../../node_modules/@grpc/grpc-js/build/src/channelz.js
55075
55075
  var require_channelz = __commonJS((exports) => {
55076
- var __dirname = "D:\\GitHub\\Alpha\\uipcli\\node_modules\\@grpc\\grpc-js\\build\\src";
55076
+ var __dirname = "/Users/alexandru.oltean/github/uipcli/node_modules/@grpc/grpc-js/build/src";
55077
55077
  Object.defineProperty(exports, "__esModule", { value: true });
55078
55078
  exports.registerChannelzSocket = exports.registerChannelzServer = exports.registerChannelzSubchannel = exports.registerChannelzChannel = exports.ChannelzCallTrackerStub = exports.ChannelzCallTracker = exports.ChannelzChildrenTrackerStub = exports.ChannelzChildrenTracker = exports.ChannelzTrace = exports.ChannelzTraceStub = undefined;
55079
55079
  exports.unregisterChannelzRef = unregisterChannelzRef;
@@ -60476,7 +60476,7 @@ var require_duration = __commonJS((exports) => {
60476
60476
 
60477
60477
  // ../../node_modules/@grpc/grpc-js/build/src/orca.js
60478
60478
  var require_orca = __commonJS((exports) => {
60479
- var __dirname = "D:\\GitHub\\Alpha\\uipcli\\node_modules\\@grpc\\grpc-js\\build\\src";
60479
+ var __dirname = "/Users/alexandru.oltean/github/uipcli/node_modules/@grpc/grpc-js/build/src";
60480
60480
  Object.defineProperty(exports, "__esModule", { value: true });
60481
60481
  exports.OrcaOobMetricsSubchannelWrapper = exports.GRPC_METRICS_HEADER = exports.ServerMetricRecorder = exports.PerRequestMetricRecorder = undefined;
60482
60482
  exports.createOrcaClient = createOrcaClient;
@@ -84608,7 +84608,7 @@ var require_envConfig = __commonJS((exports) => {
84608
84608
 
84609
84609
  // ../../node_modules/@azure/monitor-opentelemetry/dist/commonjs/shared/module.js
84610
84610
  var require_module = __commonJS((exports) => {
84611
- var __dirname = "D:\\GitHub\\Alpha\\uipcli\\node_modules\\@azure\\monitor-opentelemetry\\dist\\commonjs\\shared", __filename = "D:\\GitHub\\Alpha\\uipcli\\node_modules\\@azure\\monitor-opentelemetry\\dist\\commonjs\\shared\\module.js";
84611
+ var __dirname = "/Users/alexandru.oltean/github/uipcli/node_modules/@azure/monitor-opentelemetry/dist/commonjs/shared", __filename = "/Users/alexandru.oltean/github/uipcli/node_modules/@azure/monitor-opentelemetry/dist/commonjs/shared/module.js";
84612
84612
  Object.defineProperty(exports, "__esModule", { value: true });
84613
84613
  exports.loadAzureFunctionCore = loadAzureFunctionCore;
84614
84614
  exports.dirName = dirName;
@@ -110829,7 +110829,7 @@ var require_instrumentation7 = __commonJS((exports) => {
110829
110829
  _patchAdd(cluster) {
110830
110830
  return (originalAdd) => {
110831
110831
  const thisPlugin = this;
110832
- return function add(id, config) {
110832
+ return function add2(id, config) {
110833
110833
  if (!thisPlugin["_enabled"]) {
110834
110834
  thisPlugin._unwrap(cluster, "add");
110835
110835
  return originalAdd.apply(cluster, arguments);
@@ -113749,28 +113749,28 @@ var require_end_of_stream = __commonJS((exports, module) => {
113749
113749
  callback = once(callback || noop);
113750
113750
  var readable = opts.readable || opts.readable !== false && stream.readable;
113751
113751
  var writable = opts.writable || opts.writable !== false && stream.writable;
113752
- var onlegacyfinish = function onlegacyfinish() {
113752
+ var onlegacyfinish = function onlegacyfinish2() {
113753
113753
  if (!stream.writable)
113754
113754
  onfinish();
113755
113755
  };
113756
113756
  var writableEnded = stream._writableState && stream._writableState.finished;
113757
- var onfinish = function onfinish() {
113757
+ var onfinish = function onfinish2() {
113758
113758
  writable = false;
113759
113759
  writableEnded = true;
113760
113760
  if (!readable)
113761
113761
  callback.call(stream);
113762
113762
  };
113763
113763
  var readableEnded = stream._readableState && stream._readableState.endEmitted;
113764
- var onend = function onend() {
113764
+ var onend = function onend2() {
113765
113765
  readable = false;
113766
113766
  readableEnded = true;
113767
113767
  if (!writable)
113768
113768
  callback.call(stream);
113769
113769
  };
113770
- var onerror = function onerror(err) {
113770
+ var onerror = function onerror2(err) {
113771
113771
  callback.call(stream, err);
113772
113772
  };
113773
- var onclose = function onclose() {
113773
+ var onclose = function onclose2() {
113774
113774
  var err;
113775
113775
  if (readable && !readableEnded) {
113776
113776
  if (!stream._readableState || !stream._readableState.ended)
@@ -113783,7 +113783,7 @@ var require_end_of_stream = __commonJS((exports, module) => {
113783
113783
  return callback.call(stream, err);
113784
113784
  }
113785
113785
  };
113786
- var onrequest = function onrequest() {
113786
+ var onrequest = function onrequest2() {
113787
113787
  stream.req.on("finish", onfinish);
113788
113788
  };
113789
113789
  if (isRequest(stream)) {
@@ -113940,7 +113940,7 @@ var require_async_iterator = __commonJS((exports, module) => {
113940
113940
  });
113941
113941
  });
113942
113942
  }), _Object$setPrototypeO), AsyncIteratorPrototype);
113943
- var createReadableStreamAsyncIterator = function createReadableStreamAsyncIterator(stream) {
113943
+ var createReadableStreamAsyncIterator = function createReadableStreamAsyncIterator2(stream) {
113944
113944
  var _Object$create;
113945
113945
  var iterator = Object.create(ReadableStreamAsyncIteratorPrototype, (_Object$create = {}, _defineProperty(_Object$create, kStream, {
113946
113946
  value: stream,
@@ -114129,7 +114129,7 @@ var require__stream_readable = __commonJS((exports, module) => {
114129
114129
  var Duplex;
114130
114130
  Readable.ReadableState = ReadableState;
114131
114131
  var EE = __require("events").EventEmitter;
114132
- var EElistenerCount = function EElistenerCount(emitter, type2) {
114132
+ var EElistenerCount = function EElistenerCount2(emitter, type2) {
114133
114133
  return emitter.listeners(type2).length;
114134
114134
  };
114135
114135
  var Stream = __require("stream");
@@ -114146,7 +114146,7 @@ var require__stream_readable = __commonJS((exports, module) => {
114146
114146
  if (debugUtil && debugUtil.debuglog) {
114147
114147
  debug = debugUtil.debuglog("stream");
114148
114148
  } else {
114149
- debug = function debug() {};
114149
+ debug = function debug2() {};
114150
114150
  }
114151
114151
  var BufferList = require_buffer_list();
114152
114152
  var destroyImpl = require_destroy();
@@ -114234,7 +114234,7 @@ var require__stream_readable = __commonJS((exports, module) => {
114234
114234
  }
114235
114235
  return this._readableState.destroyed;
114236
114236
  },
114237
- set: function set(value) {
114237
+ set: function set2(value) {
114238
114238
  if (!this._readableState) {
114239
114239
  return;
114240
114240
  }
@@ -114828,7 +114828,7 @@ var require__stream_readable = __commonJS((exports, module) => {
114828
114828
  get: function get() {
114829
114829
  return this._readableState.flowing;
114830
114830
  },
114831
- set: function set(state) {
114831
+ set: function set2(state) {
114832
114832
  if (this._readableState) {
114833
114833
  this._readableState.flowing = state;
114834
114834
  }
@@ -114973,7 +114973,7 @@ var require__stream_duplex = __commonJS((exports, module) => {
114973
114973
  }
114974
114974
  return this._readableState.destroyed && this._writableState.destroyed;
114975
114975
  },
114976
- set: function set(value) {
114976
+ set: function set2(value) {
114977
114977
  if (this._readableState === undefined || this._writableState === undefined) {
114978
114978
  return;
114979
114979
  }
@@ -115092,7 +115092,7 @@ var require__stream_writable = __commonJS((exports, module) => {
115092
115092
  }
115093
115093
  });
115094
115094
  } else {
115095
- realHasInstance = function realHasInstance(object) {
115095
+ realHasInstance = function realHasInstance2(object) {
115096
115096
  return object instanceof this;
115097
115097
  };
115098
115098
  }
@@ -115451,7 +115451,7 @@ var require__stream_writable = __commonJS((exports, module) => {
115451
115451
  }
115452
115452
  return this._writableState.destroyed;
115453
115453
  },
115454
- set: function set(value) {
115454
+ set: function set2(value) {
115455
115455
  if (!this._writableState) {
115456
115456
  return;
115457
115457
  }
@@ -115573,7 +115573,7 @@ var require_modern = __commonJS((exports, module) => {
115573
115573
  var util = __require("util");
115574
115574
  var Writable = require__stream_writable();
115575
115575
  var { LEVEL } = require_triple_beam();
115576
- var TransportStream = module.exports = function TransportStream(options = {}) {
115576
+ var TransportStream = module.exports = function TransportStream2(options = {}) {
115577
115577
  Writable.call(this, { objectMode: true, highWaterMark: options.highWaterMark });
115578
115578
  this.format = options.format;
115579
115579
  this.level = options.level;
@@ -115684,7 +115684,7 @@ var require_legacy = __commonJS((exports, module) => {
115684
115684
  var util = __require("util");
115685
115685
  var { LEVEL } = require_triple_beam();
115686
115686
  var TransportStream = require_modern();
115687
- var LegacyTransportStream = module.exports = function LegacyTransportStream(options = {}) {
115687
+ var LegacyTransportStream = module.exports = function LegacyTransportStream2(options = {}) {
115688
115688
  TransportStream.call(this, options);
115689
115689
  if (!options.transport || typeof options.transport.log !== "function") {
115690
115690
  throw new Error("Invalid transport, must be an object with a log method.");
@@ -116776,7 +116776,7 @@ var require_opentelemetryInstrumentationPatcher = __commonJS((exports) => {
116776
116776
  function patchOpenTelemetryInstrumentationEnable() {
116777
116777
  const emptyStatsbeatConfig = JSON.stringify({ instrumentation: 0, feature: 0 });
116778
116778
  try {
116779
- __require.resolve("D:\\GitHub\\Alpha\\uipcli\\node_modules\\@opentelemetry\\instrumentation\\build\\src\\index.js");
116779
+ __require.resolve("/Users/alexandru.oltean/github/uipcli/node_modules/@opentelemetry/instrumentation/build/src/index.js");
116780
116780
  const autoLoaderUtils = require_autoLoaderUtils();
116781
116781
  const originalModuleDefinition = autoLoaderUtils.enableInstrumentations;
116782
116782
  autoLoaderUtils.enableInstrumentations = function(instrumentations) {
@@ -120157,7 +120157,7 @@ var require_autoCollectLogs = __commonJS((exports) => {
120157
120157
 
120158
120158
  // ../../node_modules/applicationinsights/out/src/shared/configuration/jsonConfig.js
120159
120159
  var require_jsonConfig2 = __commonJS((exports) => {
120160
- var __dirname = "D:\\GitHub\\Alpha\\uipcli\\node_modules\\applicationinsights\\out\\src\\shared\\configuration";
120160
+ var __dirname = "/Users/alexandru.oltean/github/uipcli/node_modules/applicationinsights/out/src/shared/configuration";
120161
120161
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
120162
120162
  if (k2 === undefined)
120163
120163
  k2 = k;
@@ -128912,12 +128912,12 @@ var require_lib2 = __commonJS((exports, module) => {
128912
128912
  AbortError2.prototype.name = "AbortError";
128913
128913
  var URL$1 = Url.URL || whatwgUrl.URL;
128914
128914
  var PassThrough$1 = Stream.PassThrough;
128915
- var isDomainOrSubdomain = function isDomainOrSubdomain(destination, original) {
128915
+ var isDomainOrSubdomain = function isDomainOrSubdomain2(destination, original) {
128916
128916
  const orig = new URL$1(original).hostname;
128917
128917
  const dest = new URL$1(destination).hostname;
128918
128918
  return orig === dest || orig[orig.length - dest.length - 1] === "." && orig.endsWith(dest);
128919
128919
  };
128920
- var isSameProtocol = function isSameProtocol(destination, original) {
128920
+ var isSameProtocol = function isSameProtocol2(destination, original) {
128921
128921
  const orig = new URL$1(original).protocol;
128922
128922
  const dest = new URL$1(destination).protocol;
128923
128923
  return orig === dest;
@@ -128933,7 +128933,7 @@ var require_lib2 = __commonJS((exports, module) => {
128933
128933
  const send = (options.protocol === "https:" ? https : http).request;
128934
128934
  const signal = request.signal;
128935
128935
  let response = null;
128936
- const abort = function abort() {
128936
+ const abort = function abort2() {
128937
128937
  let error = new AbortError2("The user aborted a request.");
128938
128938
  reject(error);
128939
128939
  if (request.body && request.body instanceof Stream.Readable) {
@@ -128947,7 +128947,7 @@ var require_lib2 = __commonJS((exports, module) => {
128947
128947
  abort();
128948
128948
  return;
128949
128949
  }
128950
- const abortAndFinalize = function abortAndFinalize() {
128950
+ const abortAndFinalize = function abortAndFinalize2() {
128951
128951
  abort();
128952
128952
  finalize();
128953
128953
  };
@@ -138053,17 +138053,6 @@ var require_db = __commonJS((exports, module) => {
138053
138053
  };
138054
138054
  });
138055
138055
 
138056
- // ../../node_modules/@azure/core-http/node_modules/form-data/node_modules/mime-types/node_modules/mime-db/index.js
138057
- var require_mime_db = __commonJS((exports, module) => {
138058
- /*!
138059
- * mime-db
138060
- * Copyright(c) 2014 Jonathan Ong
138061
- * Copyright(c) 2015-2022 Douglas Christopher Wilson
138062
- * MIT Licensed
138063
- */
138064
- module.exports = require_db();
138065
- });
138066
-
138067
138056
  // ../../node_modules/@azure/core-http/node_modules/form-data/node_modules/mime-types/index.js
138068
138057
  var require_mime_types = __commonJS((exports) => {
138069
138058
  /*!
@@ -138072,7 +138061,7 @@ var require_mime_types = __commonJS((exports) => {
138072
138061
  * Copyright(c) 2015 Douglas Christopher Wilson
138073
138062
  * MIT Licensed
138074
138063
  */
138075
- var db = require_mime_db();
138064
+ var db = require_db();
138076
138065
  var extname = __require("path").extname;
138077
138066
  var EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/;
138078
138067
  var TEXT_TYPE_REGEXP = /^text\//i;
@@ -138419,7 +138408,7 @@ var require_round = __commonJS((exports, module) => {
138419
138408
 
138420
138409
  // ../../node_modules/math-intrinsics/isNaN.js
138421
138410
  var require_isNaN = __commonJS((exports, module) => {
138422
- module.exports = Number.isNaN || function isNaN(a) {
138411
+ module.exports = Number.isNaN || function isNaN2(a) {
138423
138412
  return a !== a;
138424
138413
  };
138425
138414
  });
@@ -138553,7 +138542,7 @@ var require_implementation = __commonJS((exports, module) => {
138553
138542
  var toStr = Object.prototype.toString;
138554
138543
  var max = Math.max;
138555
138544
  var funcType = "[object Function]";
138556
- var concatty = function concatty(a, b) {
138545
+ var concatty = function concatty2(a, b) {
138557
138546
  var arr = [];
138558
138547
  for (var i2 = 0;i2 < a.length; i2 += 1) {
138559
138548
  arr[i2] = a[i2];
@@ -138563,7 +138552,7 @@ var require_implementation = __commonJS((exports, module) => {
138563
138552
  }
138564
138553
  return arr;
138565
138554
  };
138566
- var slicy = function slicy(arrLike, offset) {
138555
+ var slicy = function slicy2(arrLike, offset) {
138567
138556
  var arr = [];
138568
138557
  for (var i2 = offset || 0, j = 0;i2 < arrLike.length; i2 += 1, j += 1) {
138569
138558
  arr[j] = arrLike[i2];
@@ -138604,7 +138593,7 @@ var require_implementation = __commonJS((exports, module) => {
138604
138593
  }
138605
138594
  bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
138606
138595
  if (target.prototype) {
138607
- var Empty = function Empty() {};
138596
+ var Empty = function Empty2() {};
138608
138597
  Empty.prototype = target.prototype;
138609
138598
  bound.prototype = new Empty;
138610
138599
  Empty.prototype = null;
@@ -138843,7 +138832,7 @@ var require_get_intrinsic = __commonJS((exports, module) => {
138843
138832
  }
138844
138833
  }
138845
138834
  var errorProto;
138846
- var doEval = function doEval(name) {
138835
+ var doEval = function doEval2(name) {
138847
138836
  var value;
138848
138837
  if (name === "%AsyncFunction%") {
138849
138838
  value = getEvalledConstructor("async function () {}");
@@ -138852,12 +138841,12 @@ var require_get_intrinsic = __commonJS((exports, module) => {
138852
138841
  } else if (name === "%AsyncGeneratorFunction%") {
138853
138842
  value = getEvalledConstructor("async function* () {}");
138854
138843
  } else if (name === "%AsyncGenerator%") {
138855
- var fn = doEval("%AsyncGeneratorFunction%");
138844
+ var fn = doEval2("%AsyncGeneratorFunction%");
138856
138845
  if (fn) {
138857
138846
  value = fn.prototype;
138858
138847
  }
138859
138848
  } else if (name === "%AsyncIteratorPrototype%") {
138860
- var gen = doEval("%AsyncGenerator%");
138849
+ var gen = doEval2("%AsyncGenerator%");
138861
138850
  if (gen && getProto) {
138862
138851
  value = getProto(gen.prototype);
138863
138852
  }
@@ -138928,7 +138917,7 @@ var require_get_intrinsic = __commonJS((exports, module) => {
138928
138917
  var $exec = bind.call($call, RegExp.prototype.exec);
138929
138918
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
138930
138919
  var reEscapeChar = /\\(\\)?/g;
138931
- var stringToPath = function stringToPath(string) {
138920
+ var stringToPath = function stringToPath2(string) {
138932
138921
  var first = $strSlice(string, 0, 1);
138933
138922
  var last = $strSlice(string, -1);
138934
138923
  if (first === "%" && last !== "%") {
@@ -138942,7 +138931,7 @@ var require_get_intrinsic = __commonJS((exports, module) => {
138942
138931
  });
138943
138932
  return result;
138944
138933
  };
138945
- var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
138934
+ var getBaseIntrinsic = function getBaseIntrinsic2(name, allowMissing) {
138946
138935
  var intrinsicName = name;
138947
138936
  var alias;
138948
138937
  if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
@@ -152746,7 +152735,7 @@ var require_httpSender2 = __commonJS((exports) => {
152746
152735
 
152747
152736
  // ../../node_modules/@azure/monitor-opentelemetry-exporter/dist-esm/src/platform/nodejs/context/context.js
152748
152737
  var require_context11 = __commonJS((exports) => {
152749
- var __dirname = "D:\\GitHub\\Alpha\\uipcli\\node_modules\\@azure\\monitor-opentelemetry-exporter\\dist-esm\\src\\platform\\nodejs\\context";
152738
+ var __dirname = "/Users/alexandru.oltean/github/uipcli/node_modules/@azure/monitor-opentelemetry-exporter/dist-esm/src/platform/nodejs/context";
152750
152739
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
152751
152740
  if (k2 === undefined)
152752
152741
  k2 = k;
@@ -156776,7 +156765,7 @@ var package_default;
156776
156765
  var init_package = __esm(() => {
156777
156766
  package_default = {
156778
156767
  name: "@uipath/cli",
156779
- version: "0.1.6",
156768
+ version: "0.1.7",
156780
156769
  description: "Cross platform CLI for UiPath",
156781
156770
  repository: {
156782
156771
  type: "git",
@@ -188081,7 +188070,7 @@ var require_formats = __commonJS((exports) => {
188081
188070
  }
188082
188071
  var TIME = /^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;
188083
188072
  function getTime(strictTimeZone) {
188084
- return function time(str2) {
188073
+ return function time3(str2) {
188085
188074
  const matches = TIME.exec(str2);
188086
188075
  if (!matches)
188087
188076
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/cli",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Cross platform CLI for UiPath",
5
5
  "repository": {
6
6
  "type": "git",