This class is used to update the imperative config object, that was initially loaded by the Imperative module. It exists in a separate module to avoid cyclic dependencies that would occur if the functions lived in the Imperative module.

### Hierarchy

- UpdateImpConfig

## Index

### Methods

- addCmdGrp
- addProfiles

## Methods

### Static addCmdGrp

- addCmdGrp(cmdDefToAdd: ICommandDefinition): void

- - Defined in @zowe/imperative/src/imperative/src/UpdateImpConfig.ts:28

  Add a new command group by inserting it to the definitions list of the loaded config.

  #### Parameters

  - ##### cmdDefToAdd: ICommandDefinition

    command definition group to to be added.

  #### Returns void

### Static addProfiles

- addProfiles(profiles: ICommandProfileTypeConfiguration[]): void

- - Defined in @zowe/imperative/src/imperative/src/UpdateImpConfig.ts:49

  Add a new set of profiles by inserting them into the profiles of the loaded config.

  #### Parameters

  - ##### profiles: ICommandProfileTypeConfiguration[]

    Array of profiles to be added.

  #### Returns void

Generated using TypeDoc