get custom-attribute

Gets the value of a custom attribute on artifacts.

Aliases:

get custom-attributes, get ca

Usage:

get custom-attribute [-r/--repository-uri <arg>] [-u/--username <arg> -P/--password <arg> | -u/--username <arg> --password-file <arg> | --certificate <arg> -P/--password <arg> | --smartCard -u/--username <arg> | --kerberos | --integratedWindows] [-j/--json] <key> <files...> [-d/--directory <arg>]

get custom-attribute [-r/--repository-uri <arg>] [-u/--username <arg> -P/--password <arg> | -u/--username <arg> --password-file <arg> | --certificate <arg> -P/--password <arg> | --smartCard -u/--username <arg> | --kerberos | --integratedWindows] [-j/--json] <key> -v/--file <arg ...> [-d/--directory <arg>]

get custom-attribute [-r/--repository-uri <arg>] [-u/--username <arg> -P/--password <arg> | -u/--username <arg> --password-file <arg> | --certificate <arg> -P/--password <arg> | --smartCard -u/--username <arg> | --kerberos | --integratedWindows] [-j/--json] <key> -S/--stream <arg ...>

get custom-attribute [-r/--repository-uri <arg>] [-u/--username <arg> -P/--password <arg> | -u/--username <arg> --password-file <arg> | --certificate <arg> -P/--password <arg> | --smartCard -u/--username <arg> | --kerberos | --integratedWindows] [-j/--json] <key> -s/--snapshot <arg> [--snapshot-workspace <arg>]

get custom-attribute [-r/--repository-uri <arg>] [-u/--username <arg> -P/--password <arg> | -u/--username <arg> --password-file <arg> | --certificate <arg> -P/--password <arg> | --smartCard -u/--username <arg> | --kerberos | --integratedWindows] [-j/--json] <key> -b/--baseline <arg> [--baseline-component <arg>]

get custom-attribute [-r/--repository-uri <arg>] [-u/--username <arg> -P/--password <arg> | -u/--username <arg> --password-file <arg> | --certificate <arg> -P/--password <arg> | --smartCard -u/--username <arg> | --kerberos | --integratedWindows] [-j/--json] <key> -C/--component <arg ...>

key The name of the custom attribute to retrieve.
files The files for which the custom attribute is retrieved. If no object type is specified, the get command will default to file type.

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, --directory <arg> Specifies the root of the shared file system.
-v, --file <arg ...> The files for which the custom attribute is retrieved. If no object type is specified, the get command will default to file type.
-S, --stream <arg ...> This option indicates the stream to get custom attributes for. To specify the workspace or stream, use its name[@repo], alias, or UUID[@repo].
-s, --snapshot <arg> This option indicates the snapshot to get custom attributes for. To specify the snapshot, use the snapshot name[@repo], alias, or UUID[@repo].
    --snapshot-workspace <arg> The workspace or stream that is associated with the snapshot. To specify the workspace or stream, use its name, alias, or UUID.
-b, --baseline <arg> This option indicates the baseline to get custom attributes for. To specify the baseline, use the baseline name[@repo], alias, or UUID[@repo].
    --baseline-component <arg> The component for the baseline. This option is required if you specify the baseline by using anything other than an alias or UUID.
-C, --component <arg ...> This option indicates which component to get custom attributes for. To specify the component, use the component name[@repo], alias, or UUID[@repo].


Example