0.24.13 • Published 12 months ago

@inferable/cli v0.24.13

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

Inferable CLI

Installation

npm install -g @inferable/cli

This will make the inf command available globally.

Alternatively, use the CLI with npx:

npx @inferable/cli <cmd>

Usage

Authentication

To authenticate the CLI, run inf auth login. This will open a browser and prompt you to login to the Inferable console.

Environment

The CLI respects use the following environment variables if available:

  • INFERABLE_API_ENDPOINT: The Inferable API endpoint to use (See self-hosting guide).
  • INFERABLE_CLUSTER_ID: Cluster related commands will automatically use this cluster.

Commands

  • inf clusters: Manage Inferable clusters.

    • create: Create a new cluster.
    • list: List all clusters.
    • info: Show details of a cluster.
    • open: View a cluster in the browser.
  • inf runs: Manage runs associated with your clusters.

    • create: Create a new run and follow its progress.
    • list: List runs within a cluster.
    • info: Display information about a specific run.
    • open: View a run in the browser.
  • inf auth: Authenticate with the Inferable API.

    • login: Start the authentication process.
    • keys: Manage API keys.
      • list: List all API keys for a cluster.
      • revoke: Revoke a specific API key.
      • create: Create a new API key.
  • ing generate: Generate functions for GraphQL and OpenAPI schemas.

    • graphql: Generate functions from a GraphQL schema.
    • openapi: Generate functions from an OpenAPI schema.
  • inf cli: Manage the Inferable CLI itself.

    • update: Update the Inferable CLI.
  • inf app: Open the Inferable app in a browser.

Use inf <cmd> --help to get details for a specific command.

Local Development

All commands can be run with tsx:

tsx src/index.ts <cmd>
tsx src/index.ts auth login
0.24.13

12 months ago

0.24.10

1 year ago

0.24.12

12 months ago

0.24.11

12 months ago

0.24.9

1 year ago

0.24.8

1 year ago

0.24.7

1 year ago

0.24.6

1 year ago

0.24.5

1 year ago

0.24.4

1 year ago

0.24.3

1 year ago

0.24.1

1 year ago

0.24.0

1 year ago

0.20.1

1 year ago

0.20.0

1 year ago

0.19.0

1 year ago

0.23.1

1 year ago

0.23.0

1 year ago

0.21.1

1 year ago

0.21.0

1 year ago

0.18.1

1 year ago

0.22.0

1 year ago

0.17.0

1 year ago

0.18.0

1 year ago

0.16.3

1 year ago

0.11.0

1 year ago

0.12.0

1 year ago

0.13.0

1 year ago

0.12.1

1 year ago

0.14.0

1 year ago

0.15.0

1 year ago

0.14.1

1 year ago

0.16.0

1 year ago

0.15.1

1 year ago

0.14.2

1 year ago

0.16.1

1 year ago

0.16.2

1 year ago

0.10.0

1 year ago

0.9.0

1 year ago

0.7.2

1 year ago

0.8.0

1 year ago

0.7.1

1 year ago

0.9.1

1 year ago

0.7.0

1 year ago

0.6.6

1 year ago

0.6.5

1 year ago

0.6.4

1 year ago

0.6.3

1 year ago

0.6.2

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago

0.5.0

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago