scalar sdk

Manage Scalar SDKs (Enterprise only).

Command Description
scalar sdk list List SDKs in a team namespace
scalar sdk get Inspect SDK metadata, API source, versions, and build status
scalar sdk create Create an SDK in the namespace of its source API
scalar sdk update Update SDK metadata
scalar sdk delete Delete an SDK
scalar sdk build Start an SDK build

list

List SDKs in a team namespace.

scalar sdk list [options]

Options

Option Description
--json Output structured SDK metadata as JSON.
--namespace <namespace> Team namespace.
--no-input Disable prompts and browser launches.

get

Inspect SDK metadata, API source, versions, and build status.

scalar sdk get [options]

Options

Option Description
-s, --slug <slug> Required. SDK slug.
-n, --namespace <namespace> Team namespace.
--json Output structured SDK metadata as JSON.
--no-input Disable prompts and browser launches.

create

Create an SDK in the namespace of its source API.

scalar sdk create [options]

Options

Option Description
--json Output the mutation result as JSON without prompting.
-a, --api <api> Scalar Registry API slug.
-n, --namespace <namespace> Team namespace of the source API.
-l, --language <language> SDK language. One of typescript, python, cli, csharp, java, ruby, php, go, rust, kotlin, swift, cpp, dart.
--no-input Disable prompts and browser launches.

update

Update SDK metadata.

scalar sdk update [options]

Options

Option Description
--json Output the mutation result as JSON without prompting.
-s, --slug <slug> SDK slug.
-n, --namespace <namespace> Team namespace.
--title <title> SDK title.
--isPrivate <isPrivate> Access setting (true/private or false/public). One of true, false, public, private.
--no-input Disable prompts and browser launches.

delete

Delete an SDK.

scalar sdk delete [options]

Options

Option Description
--json Output the mutation result as JSON without prompting.
-s, --slug <slug> SDK slug.
-n, --namespace <namespace> Team namespace.
--no-input Disable prompts and browser launches.

build

Start an SDK build.

scalar sdk build [options]

Options

Option Description
--json Output the mutation result as JSON without prompting.
-s, --slug <slug> SDK slug.
-n, --namespace <namespace> Team namespace.
--no-input Disable prompts and browser launches.

What did you think of this content?