Skip to content

Commit f400915

Browse files
author
Siva Manivannan
committed
Add custom-id
1 parent 3efdb8b commit f400915

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

docs/reference/replicated-cli-customer-create.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,22 @@ replicated customer create [Flags]
3838
<td>duration</td>
3939
<td>If set, license will expire a specified number of units from the current time. For example, <code>2h</code> or <code>1h60m</code> or <code>120m</code> are all the same duration.</td>
4040
</tr>
41+
<tr>
42+
<td><code>--custom-id</code></td>
43+
<td>string</td>
44+
<td>If set, this custom alphanumeric ID is associated with this customer to more easily tie this record to your external data systems (i.e. Salesforce, Hubspot, etc.) </td>
45+
</tr>
4146
<Help/>
4247
<App/>
4348
<Token/>
4449
</table>
4550

4651
## Examples
4752
```bash
48-
replicated customer create --channel Megacorp_Beta --name "Megacorp" --ensure-channel --expires-in "8760h"
49-
ID NAME CHANNELS EXPIRES TYPE
50-
2u4KGXSY65SAUW0ltG_pPhxBGPJ4XNSS Megacorp Megacorp_Beta 2021-01-20 00:17:38 +0000 UTC dev
53+
replicated customer create --channel Megacorp_Beta --name "Megacorp" --ensure-channel --expires-in "8760h" --custom-id "salesforceid-123"
54+
```
55+
56+
```bash
57+
ID NAME CHANNELS EXPIRES TYPE CUSTOM_ID
58+
2u4KGXSY65SAUW0ltG_pPhxBGPJ4XNSS Megacorp Megacorp_Beta 2021-01-20 00:17:38 +0000 UTC dev salesforceid-123
5159
```

docs/reference/replicated-cli-customer-ls.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ List all customers:
2929

3030
```bash
3131
replicated customer ls
32-
ID NAME CHANNELS EXPIRES TYPE
33-
iEgJuVDHy2pi-AqOjLXbZCTX9bqlV6YH John Smith Unstable Never
34-
YAg7ripYbK0tM5MVn_81nMy0YrhBsHrm Megacorp Megacorp_Beta Never
32+
ID NAME CHANNELS EXPIRES TYPE CUSTOM_ID
33+
iEgJuVDHy2pi-AqOjLXbZCTX9bqlV6YH John Smith Unstable Never Not Set
34+
YAg7ripYbK0tM5MVn_81nMy0YrhBsHrm Megacorp Megacorp_Beta Never salesforceid-123
3535
```
3636

3737
List customers and their instances for a specific application version:

0 commit comments

Comments
 (0)