Skip to content

fix: resolve manifest generation issues, update oclif tooling #71

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

Merged
merged 7 commits into from
Mar 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
169 changes: 86 additions & 83 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Generate a temporary token for use in a Twilio client-side SDK application
* [Requirements](#requirements)
* [Usage](#usage)
* [Commands](#commands)
* [ Contributing](#contributing)
* [ Contributing](#-contributing)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does the - do here?

* [License](#license)
<!-- tocstop -->
# Requirements
Expand Down Expand Up @@ -39,141 +39,144 @@ USAGE

```
USAGE
$ twilio token:capability:client

OPTIONS
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
-o=(columns|json|tsv|none) [default: columns] Format of command output.
-p, --profile=profile Shorthand identifier for your profile.
--allow-incoming=true|false [default: true] Allow incoming calls (true/false) (defaults to true)
--identity=identity (required) The user identity

--push-credential-sid=push-credential-sid The Push Credential SID for receiving incoming call push notifications,
starts with CRXXX

--silent Suppress output and logs. This is a shorthand for "-l none -o none".

--ttl=ttl Optional TTL for token (up to 24 hours) (value in seconds)

--voice-app-sid=voice-app-sid (required) The TwiML Application SID for outbound calls, starts with APXXX
$ twilio token:capability:client --voice-app-sid <value> --identity <value> [-l (debug|info|warn|error|none)] [-o
(columns|json|tsv|none)] [--silent] [-p <value>] [--allow-incoming true|false] [--push-credential-sid <value>]
[--ttl <value>]

FLAGS
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
-o=(columns|json|tsv|none) [default: columns] Format of command output.
-p, --profile=<value> Shorthand identifier for your profile.
--allow-incoming=<option> [default: true] Allow incoming calls (true/false) (defaults to true)
<options: true|false>
--identity=<value> (required) The user identity
--push-credential-sid=<value> The Push Credential SID for receiving incoming call push notifications, starts with
CRXXX
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
--ttl=<value> Optional TTL for token (up to 24 hours) (value in seconds)
--voice-app-sid=<value> (required) The TwiML Application SID for outbound calls, starts with APXXX
```

_See code: [src/commands/token/capability/client.js](https://github.com/twilio-labs/plugin-token/blob/v4.0.0/src/commands/token/capability/client.js)_
_See code: [src/commands/token/capability/client.js](https://github.com/twilio-labs/plugin-token/blob/v6.0.0/src/commands/token/capability/client.js)_

## `twilio token:capability:worker`

```
USAGE
$ twilio token:capability:worker
$ twilio token:capability:worker --worker-sid <value> --workspace-sid <value> [-l (debug|info|warn|error|none)] [-o
(columns|json|tsv|none)] [--silent] [-p <value>] [--ttl <value>]

OPTIONS
FLAGS
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
-o=(columns|json|tsv|none) [default: columns] Format of command output.
-p, --profile=profile Shorthand identifier for your profile.
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
--ttl=ttl Optional TTL for token (up to 24 hours) (value in seconds)
--worker-sid=worker-sid (required) The Worker SID for this token
--workspace-sid=workspace-sid (required) The Workspace SID for this token
-p, --profile=<value> Shorthand identifier for your profile.
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
--ttl=<value> Optional TTL for token (up to 24 hours) (value in seconds)
--worker-sid=<value> (required) The Worker SID for this token
--workspace-sid=<value> (required) The Workspace SID for this token
```

_See code: [src/commands/token/capability/worker.js](https://github.com/twilio-labs/plugin-token/blob/v4.0.0/src/commands/token/capability/worker.js)_
_See code: [src/commands/token/capability/worker.js](https://github.com/twilio-labs/plugin-token/blob/v6.0.0/src/commands/token/capability/worker.js)_

## `twilio token:chat`

```
USAGE
$ twilio token:chat

OPTIONS
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
-o=(columns|json|tsv|none) [default: columns] Format of command output.
-p, --profile=profile Shorthand identifier for your profile.
--chat-service-sid=chat-service-sid (required) The service SID for the Chat, starts with ISXXX
--identity=identity (required) The user identity
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
--ttl=ttl Optional TTL for token (up to 24 hours) (value in seconds)
$ twilio token:chat --identity <value> --chat-service-sid <value> [-l (debug|info|warn|error|none)] [-o
(columns|json|tsv|none)] [--silent] [-p <value>] [--ttl <value>]

FLAGS
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
-o=(columns|json|tsv|none) [default: columns] Format of command output.
-p, --profile=<value> Shorthand identifier for your profile.
--chat-service-sid=<value> (required) The service SID for the Chat, starts with ISXXX
--identity=<value> (required) The user identity
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
--ttl=<value> Optional TTL for token (up to 24 hours) (value in seconds)
```

_See code: [src/commands/token/chat.js](https://github.com/twilio-labs/plugin-token/blob/v4.0.0/src/commands/token/chat.js)_
_See code: [src/commands/token/chat.js](https://github.com/twilio-labs/plugin-token/blob/v6.0.0/src/commands/token/chat.js)_

## `twilio token:flex`

```
USAGE
$ twilio token:flex
$ twilio token:flex --worker-sid <value> --workspace-sid <value> [-l (debug|info|warn|error|none)] [-o
(columns|json|tsv|none)] [--silent] [-p <value>] [--ttl <value>]

OPTIONS
FLAGS
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
-o=(columns|json|tsv|none) [default: columns] Format of command output.
-p, --profile=profile Shorthand identifier for your profile.
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
--ttl=ttl Optional TTL for token (up to 24 hours) (value in seconds)
--worker-sid=worker-sid (required) The Worker SID for this token
--workspace-sid=workspace-sid (required) The Workspace SID for this token
-p, --profile=<value> Shorthand identifier for your profile.
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
--ttl=<value> Optional TTL for token (up to 24 hours) (value in seconds)
--worker-sid=<value> (required) The Worker SID for this token
--workspace-sid=<value> (required) The Workspace SID for this token
```

_See code: [src/commands/token/flex.js](https://github.com/twilio-labs/plugin-token/blob/v4.0.0/src/commands/token/flex.js)_
_See code: [src/commands/token/flex.js](https://github.com/twilio-labs/plugin-token/blob/v6.0.0/src/commands/token/flex.js)_

## `twilio token:sync`

```
USAGE
$ twilio token:sync

OPTIONS
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
-o=(columns|json|tsv|none) [default: columns] Format of command output.
-p, --profile=profile Shorthand identifier for your profile.
--identity=identity (required) The user identity
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
--sync-service-sid=sync-service-sid (required) The service SID for the Sync, starts with ISXXX
--ttl=ttl Optional TTL for token (up to 24 hours) (value in seconds)
$ twilio token:sync --identity <value> --sync-service-sid <value> [-l (debug|info|warn|error|none)] [-o
(columns|json|tsv|none)] [--silent] [-p <value>] [--ttl <value>]

FLAGS
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
-o=(columns|json|tsv|none) [default: columns] Format of command output.
-p, --profile=<value> Shorthand identifier for your profile.
--identity=<value> (required) The user identity
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
--sync-service-sid=<value> (required) The service SID for the Sync, starts with ISXXX
--ttl=<value> Optional TTL for token (up to 24 hours) (value in seconds)
```

_See code: [src/commands/token/sync.js](https://github.com/twilio-labs/plugin-token/blob/v4.0.0/src/commands/token/sync.js)_
_See code: [src/commands/token/sync.js](https://github.com/twilio-labs/plugin-token/blob/v6.0.0/src/commands/token/sync.js)_

## `twilio token:video`

```
USAGE
$ twilio token:video
$ twilio token:video --identity <value> [-l (debug|info|warn|error|none)] [-o (columns|json|tsv|none)]
[--silent] [-p <value>] [--room-name <value>] [--ttl <value>]

OPTIONS
FLAGS
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
-o=(columns|json|tsv|none) [default: columns] Format of command output.
-p, --profile=profile Shorthand identifier for your profile.
--identity=identity (required) The user identity
--room-name=room-name The name of the room this token grants access to
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
--ttl=ttl Optional TTL for token (up to 24 hours) (value in seconds)
-p, --profile=<value> Shorthand identifier for your profile.
--identity=<value> (required) The user identity
--room-name=<value> The name of the room this token grants access to
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
--ttl=<value> Optional TTL for token (up to 24 hours) (value in seconds)
```

_See code: [src/commands/token/video.js](https://github.com/twilio-labs/plugin-token/blob/v4.0.0/src/commands/token/video.js)_
_See code: [src/commands/token/video.js](https://github.com/twilio-labs/plugin-token/blob/v6.0.0/src/commands/token/video.js)_

## `twilio token:voice`

```
USAGE
$ twilio token:voice

OPTIONS
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
-o=(columns|json|tsv|none) [default: columns] Format of command output.
-p, --profile=profile Shorthand identifier for your profile.
--allow-incoming=true|false [default: true] Allow incoming calls (true/false) (defaults to true)
--identity=identity (required) The user identity

--push-credential-sid=push-credential-sid The Push Credential SID for receiving incoming call push notifications,
starts with CRXXX

--silent Suppress output and logs. This is a shorthand for "-l none -o none".

--ttl=ttl Optional TTL for token (up to 24 hours) (value in seconds)

--voice-app-sid=voice-app-sid (required) The TwiML Application SID for outbound calls, starts with APXXX
$ twilio token:voice --voice-app-sid <value> --identity <value> [-l (debug|info|warn|error|none)] [-o
(columns|json|tsv|none)] [--silent] [-p <value>] [--allow-incoming true|false] [--push-credential-sid <value>]
[--ttl <value>]

FLAGS
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
-o=(columns|json|tsv|none) [default: columns] Format of command output.
-p, --profile=<value> Shorthand identifier for your profile.
--allow-incoming=<option> [default: true] Allow incoming calls (true/false) (defaults to true)
<options: true|false>
--identity=<value> (required) The user identity
--push-credential-sid=<value> The Push Credential SID for receiving incoming call push notifications, starts with
CRXXX
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
--ttl=<value> Optional TTL for token (up to 24 hours) (value in seconds)
--voice-app-sid=<value> (required) The TwiML Application SID for outbound calls, starts with APXXX
```

_See code: [src/commands/token/voice.js](https://github.com/twilio-labs/plugin-token/blob/v4.0.0/src/commands/token/voice.js)_
_See code: [src/commands/token/voice.js](https://github.com/twilio-labs/plugin-token/blob/v6.0.0/src/commands/token/voice.js)_
<!-- commandsstop -->
# Contributing

Expand Down
5 changes: 4 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
"linter": {
"enabled": true,
"rules": {
"recommended": true
"recommended": true,
"performance": {
"noDelete": "warn"
}
}
}
}
Loading