Edit Components Directly on the Server

This page explains how to use the Command Line Interface (CLI) to edit pipelines/databases without downloading the full package.

When interacting with a package, you may encounter a scenario where it is in a partially running state. In this situation, it's possible to edit the non-running components directly. For instance, you can modify a non-running pipeline in a package whose database is running.

Note

To list components and check their status, refer to track deployments.

Run the following command to directly edit a pipeline or a database:

bash

Copy
kxi pm edit

You can edit a pipeline that's not running in a partially running package to:

  1. Modify the pipeline specifications.

    bash

    Copy
    kxi pm edit my-package pipeline my-pipe --field spec

  2. Edit the whole pipeline configuration.

    bash

    Copy
    kxi pm edit my-package pipeline my-pipe

You can edit a database directly in order to:

  1. Edit the schema.

    bash

    Copy
    kxi pm edit my-package database my-db --field tables

  2. Edit the entire database's specification.

    bash

    Copy
    kxi pm edit my-package database my-db

Further reading