create workspace

Creates a repository workspace. If you specify a flow target or snapshot, the repository workspace will be populated with the components of that stream or snapshot.

Aliases:

create ws, create w

Usage:

create workspace [common options] [-d/--description <arg>] [-s/--stream <arg> | --snapshot <arg> | -e/--empty] <name>
create workspace [common options] --duplicate <arg> <name>
create workspace [common options] [-d/--description <arg>] --historyRef <arg> [name]
name The name of the workspace.

Options:

-r, --repository-uri <arg> The URI that specifies the location of the repository.
-u, --username <arg> The user name for the repository.
-P, --password <arg> The password for the repository.
--password-file <arg> File that contains the user's password.
--certificate <arg> The file that contains the user's login certificate.
--smartCard Use the connected smart card for authentication.
--kerberos Authenticate with Windows user credentials using Kerberos/SPNeGO.
--integratedWindows Authenticate with Windows user credentials using Integrated Windows Authentication.
-j, --json Enable JSON output.
-d, --description <arg> The description of the workspace/stream.
-s, --stream <arg> The stream or workspace to set as the default flow target and initial workspace history. To specify the stream or workspace, use its name[@repo], alias, or UUID[@repo].
--snapshot <arg> The snapshot to use as the initial workspace history. To specify the snapshot, use name[@repo], alias, or UUID[@repo].
-e, --empty Creates an empty workspace. A default component will not be created for the workspace.
--duplicate <arg> The workspace to duplicate. To specify the workspace, use the name[@repo], alias, or UUID[@repo].
--historyRef <arg> The history reference to use as the initial workspace history. To specify the history reference, use its alias, or UUID[@repo]. History references can be obtained with the "show operations" command.

create workspace example

Example