Page cover

edit

The organization edit command allows administrators to update their organization’s details such as address, city, region, postal code, phone number, and description. You can either modify these details interactively through a Text User Interface (TUI) or directly using flags for specific fields. If you need to update fields like Country or Sales, use the TUI mode (run the command without flags).

Usage

cldkctl organization edit [flags]

Steps

Option 1 — Interactive Mode (TUI)

  1. Run the following command in your terminal

./cldkctl organization edit
  1. Country

    1. Use ↑ or ↓ arrows to navigate through the country list.

    2. Type / to filter and quickly find a country.

    3. Press Enter to select a country and proceed to the next field.

  2. Business Phone Number

    1. Type directly to input your organization’s phone number.

    2. Press Enter to move to the next field.

  3. Sales

    1. Use ↑ / ↓ to navigate through available sales representatives.

    2. Type / to filter the list.

    3. Press Enter to select and proceed.

  1. City

    1. Type your city name directly.

    2. Press Enter to continue.

  2. Region

    1. Type your region or province name.

    2. Press Enter to continue.

  3. ZIP

    1. Enter the postal or ZIP code.

    2. Press Enter to move forward.

  1. Address

    1. Type the organization’s full address

    2. Use:

      1. Alt + Enter or Ctrl + J to insert a new line.

      2. Ctrl + E to open text editor mode.

    3. Press Enter to proceed after finishing the input.

  2. Description

    1. Type a short description of your organization.

    2. You can also use:

      1. Alt + Enter / Ctrl + J to insert a new line.

      2. Ctrl + E to open text editor mode.

  3. Confirmation

    1. Use When all fields are filled, you will see the prompt Save organization profile? [Confirm / Cancel]

    2. Press Y to confirm and save changes or press N to cancel and discard changes.

  4. Navigation Tabs

    1. Shift + Tab to move back to the previous field.

    2. Enter to go to the next field.

Option 2 — Using Flags (Non-Interactive Mode)

  1. If you prefer to directly update specific fields, you can use command flags.

./cldkctl organization edit --address "Jl. Testing No. 123456, DKI Jakarta"
  1. You can also update multiple fields simultaneously by combining flags in a single command. Each flag corresponds to a profile field, and all provided values will be updated together.

./cldkctl organization edit \
--address "Jl. Testing No. 123, Jakarta" \
--city "Jakarta" \
--zip "12345"

Flags

Description
Description

-a, --help

Update organization address.

-c, --help

Update city name.

-d, --help

Update organization description.

-h, --help

Help for the organization edit subcommand.

-p, --help

Update business phone number.

-r, --help

Update region or province.

-z, --help

Update postal or ZIP code.

Last updated