Project List#
Command: project list
Shorthands: p l
The project list
command is used to display a list of existing Project structures. This command helps you view all the projects that have been created, along with their details.
Usage#
Example
Classic usage
(3) application project available
- AuthServiceProject (none-set) - LogServiceProject (none-set) - UserServiceProject (none-set)
Flags#
See Global flags and Common flags
Name | Datatype | Required | Default | Description |
---|---|---|---|---|
--workspace , -w | workspace | false | current_workspace | The name of the workspace whose projects you want to list |
--workspace
#
- Aliases
-w
- Datatype:
workspace
- Type:
text
- Multiplicity: Optional
- Default:
current_workspace
- Validation Rules: Existing workspace names
- Description: List projects in the specified workspace
If you don't specify workspace name, by default pars
get current workspace details
Usage
The --workspace
flag is used to specify the workspace from which you want to list the projects. This flag helps you focus on the projects within a particular workspace managed by Pars.
Notes
- The
--workspace
flag is used in commands where you need to list projects within a specific workspace. - Ensure that the workspace name provided is valid and recognized by Pars to avoid errors during the listing process.
- This flag is beneficial for scenarios where you need to review or manage projects within a particular workspace.
Tip
You can use suggestions to list available workspaces. To do this, simply press Tab to proceed. For more details, please visit our Workspace Autocompletion and Filtering Guide.
Example
(3) application project available
- AuthServiceProject (none-set) - LogServiceProject (none-set) - UserServiceProject (none-set)