Handler for the convert profiles command.

### Hierarchy

- ConvertProfilesHandler

### Implements

- ICommandHandler

## Index

### Methods

- process
- showMsgsByType

## Methods

### process

- process(params: IHandlerParameters): Promise<void>

- Implementation of ICommandHandler.process

  - Defined in @zowe/imperative/src/imperative/src/config/cmd/convert-profiles/convert-profiles.handler.ts:29

  Process the command input and display output.

  throws

    {ImperativeError}

  #### Parameters

  - ##### params: IHandlerParameters

    Parameters supplied by yargs

  #### Returns Promise<void>

### Private showMsgsByType

- showMsgsByType(setOfMsgs: ConvertMsg[], msgTypeToShow: number, consoleApiFun: IHandlerResponseConsoleApi): void

- - Defined in @zowe/imperative/src/imperative/src/config/cmd/convert-profiles/convert-profiles.handler.ts:98

  Show all of the messages of a given type. The intent is to allow our caller to show a report of all actions, followed by a report of all errors.

  #### Parameters

  - ##### setOfMsgs: ConvertMsg[]

    The available set of messages to display.

  - ##### msgTypeToShow: number

    The type of message to display. Either ConvertMsgFmt.REPORT_LINE or ConvertMsgFmt.ERROR_LINE.

  - ##### consoleApiFun: IHandlerResponseConsoleApi

    The IHandlerResponseConsoleApi object used to display messages in a CLI terminal.

  #### Returns void

Generated using TypeDoc