Add an element to your Git repository from up the map in Endevor.
Usage
zowe endevor-bridge-for-git add element [context] [mapping] [options]
Positional Arguments
-
context (string)
- Git-Endevor mapping context (ID of the organization, project, team, or the Git repository owner).
-
mapping (string)
- Git-Endevor mapping name (Git repository ID).
Options
-
--element-name | --name (string)
- Name of the Endevor element to add.
-
--element-type | --type (string)
- Type of Endevor element to add.
-
--endevor-system | --endevorsys | --system (string)
- Endevor system where your project resides.
-
--endevor-subsystem | --endevorsub | --sub | --subsystem (string)
- Endevor subsystem where your project resides.
-
--withDependencies (boolean)
-
--force-get-dependencies | --force (boolean)
-
--branchId (string)
- If specified, add the requested elements to the selected branch.
-
--all-branches (boolean)
-
--file | --fn (local file path)
- If specified, read the elements to add from file.
Ensure that the file is in the format specified in the documentation and follows the example:
[
{
"fullElmName": "ELMNAME",
"typeName": "ELMTYPE"
}
]
Endevor options (alternatively use an 'endevor' profile)
-
--endevor-protocol | --endevorprot (string)
-
--endevor-host | --endevorh (string)
- Endevor Rest API hostname.
-
--endevor-port | --endevorp (number)
-
--endevor-user | --endevoru (string)
- Mainframe (Endevor) username (can be the same as your TSO login).
-
--endevor-password | --endevorpass | --endevorpw (string)
- Mainframe (Endevor) password (can be the same as your TSO password).
-
--endevor-reject-unauthorized | --endevorru (boolean)
-
--endevor-base-path | --endevorbp (string)
Endevor Bridge for Git connection options (you can also use an 'ebg' profile)
Profile Options
-
--ebg-profile | --ebg-p (string)
- The name of a (ebg) profile to load for this command execution.
-
--endevor-profile | --endevor-p (string)
- The name of a (endevor) profile to load for this command execution.
-
--base-profile | --base-p (string)
- The name of a (base) profile to load for this command execution.
Base Connection Options
-
--password | --pass | --pw (string)
- Password to authenticate to service on the mainframe.
-
--token-type | --tt (string)
- The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.
-
--token-value | --tv (string)
- The value of the token to pass to the API.
-
--cert-file (local file path)
-
The file path to a certificate file to use for authentication.
Note: The CLI does not support certificate files that require a password. For more information, search Troubleshooting PEM Certificates in Zowe Docs.
-
--cert-key-file (local file path)
- The file path to a certificate key file to use for authentication
Examples