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> -F/--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> |
| 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/--changeset <arg> |
| key | The name of the custom attribute to retrieve. |
| files | The files for which custom attribute is retrieved. |
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. |
| -F, --file <arg ...> | The files for which custom attribute is retrieved. |
| -S, --stream <arg ...> | The streams for which custom attribute is retrieved. To specify the workspace or stream, use its name[@repo], alias, or UUID[@repo]. |
| -s, --snapshot <arg> | The snapshot for which custom attribute is retrieved. 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> | The baseline for which custom attribute is retrieved. 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> | The component for which custom attribute is retrieved. To specify the component, use the component name[@repo], alias, or UUID[@repo]. |
| -c, --changeset <arg> | The change set for which custom attribute is retrieved. To specify the change set, use its alias or UUID[@repo]. |
Example