Listing releases

About this task

This subcommand lists the releases matching any specified criteria. If no criteria are specified, all releases are listed.

ccm release -l|-list ([-active] | [-inactive]) 
        [(-component component_name)...] [-f|-format format] [-nf|-noformat] 
        ([-ch|-column_header] | [-nch|-nocolumn_header]) 
        [-sep|-separator separator] ([-sby|-sortby sortspec] | 
        [-ns|-nosort|-no_sort]) [-gby|-groupby groupformat] [-u|-unnumbered]
-active
Specifies that only active releases are listed. If neither -active nor -inactive are specified, both active and inactive releases are listed.
-ch|-column_header
Specifies to use a column header in the output format. See -ch|-column_headers for details.
-component component_name
Specifies that only releases for a specific component name are listed. If a component name is not specified, no releases are listed.
-f|-format format
Specifies the command output format. See -f|-format for details.

A keyword can be built-in (%fullname, %displayname, %objectname) or the name of any existing attribute such as %modify_time or %status.

See Built-In keywords for a list of keywords.

-gby|-groupby groupformat
Specifies how to group the command output. See -gby|-groupby for details.
-inactive
Specifies that only inactive releases are listed. If neither -active nor -inactive are specified, then both active and inactive releases are listed.
-nch|-nocolumn_header
Specifies not to use a column header in the output format. See -nch|-nocolumn_headers for details.
-nf|-noformat
Specifies not to use column alignment. See -nf|-noformat for details.
-ns|-nosort|-no_sort
Specifies that the command's output will not be sorted. See -ns|-nosort for details.
-sby|-sortby sortspec
Specifies how to sort the command output. See -sby|-sortby for details.
-sep|-separator separator
Used only with the -f|-format option. Specifies a different separator character. See -sep|-separator for details.
-u|-unnumbered
Suppresses automatic numbering of the command's output (that is, the output is un-numbered). See -u|-unnumbered for details.

Example

About this task

  • List releases.

    ccm release -list -active -component a

    1) a/1.0

    ccm release -list -inactive -component b
    1) b/1.0


Feedback