/shorten
Create and manage your shortened URLs.
| Attribute | Details |
|---|---|
| Access Tier | Whitelisted User |
| Provider | Configured Shortener Service & SQLite WAL |
| Data Stored | Stores slug, short URL, target destination URL in managed_short_links table. |
Subcommands
/shorten create
Create a short link owned by your June account.
Options:
| Option | Description | Type | Required |
|---|---|---|---|
url | Target URL. | String | Yes |
custom | Optional custom slug for administrators. | String | No |
ephemeral | Hide this response. | Boolean | No |
/shorten list
List only your short links.
Options:
| Option | Description | Type | Required |
|---|---|---|---|
ephemeral | Hide this response. | Boolean | No |
/shorten delete
Delete one of your short links.
Options:
| Option | Description | Type | Required |
|---|---|---|---|
slug | Your short-link slug. (Autocomplete supported) | String | Yes |
ephemeral | Hide this response. | Boolean | No |
/shorten clear
Delete all short links owned by your account.
Options:
| Option | Description | Type | Required |
|---|---|---|---|
confirmation | Enter CLEAR. | String | Yes |
ephemeral | Hide this response. | Boolean | No |
Examples
text
/shorten create target:"https://very-long-url.com/path" custom_slug:"docs"