Skip to content

iectl publisher workspace init

Synopsis

The init command initializes a new Publisher CLI workspace in the specified empty folder. You must provide the desired folder path using command iectl config add publisher in the configuration. Upon running the command, the CLI creates a .pxws file in the target directory containing CLI-specific metadata. This file allows the CLI to recognize and validate the directory as an official workspace for subsequent CLI operations.

If the given path does not exist, the command will automatically create it.

Set your workspace folder in publisher config using iectl config add publisher command.

Usage

iectl publisher workspace init [OPTIONS]

Options

  -h, --help help for workspace init

Options inherited from parent commands

  -o, --output string   output format
  -q, --query string    query on result of object
  -v, --verbose         verbose output

Example

 iectl publisher workspace init