Class for generating auth-related commands

### Hierarchy

- AutoInitCommandBuilder

### Implements

- AbstractCommandBuilder

## Index

### Constructors

- constructor

### Properties

- mAutoInitConfig
- mConfig
- mLogger
- mProfileType

### Methods

- build
- buildAutoInitSegmentFromConfig
- buildFull
- getAction

## Constructors

### constructor

- new AutoInitCommandBuilder(mLogger: Logger, mAutoInitConfig: ICommandProfileAutoInitConfig, mProfileType?: string): AutoInitCommandBuilder

- - Defined in @zowe/imperative/src/imperative/src/config/cmd/auto-init/builders/AutoInitCommandBuilder.ts:30

  Construct the builder based on the auth config.

  #### Parameters

  - ##### mLogger: Logger

    logger instance to use for the builder class

  - ##### mAutoInitConfig: ICommandProfileAutoInitConfig

  - ##### Optional mProfileType: string

    the profile name of the profile type e.g. banana

  #### Returns AutoInitCommandBuilder

## Properties

### Protected mAutoInitConfig

mAutoInitConfig: ICommandProfileAutoInitConfig

- Defined in @zowe/imperative/src/imperative/src/config/cmd/auto-init/builders/AutoInitCommandBuilder.ts:39

### Protected mConfig

mConfig: ICommandProfileAutoInitConfig

- Defined in @zowe/imperative/src/imperative/src/config/cmd/auto-init/builders/AutoInitCommandBuilder.ts:30

Auth config for the command.

### Protected mLogger

mLogger: Logger

- Defined in @zowe/imperative/src/imperative/src/config/cmd/auto-init/builders/AutoInitCommandBuilder.ts:38

logger instance to use for the builder class

### Protected Optional mProfileType

mProfileType: string

- Defined in @zowe/imperative/src/imperative/src/config/cmd/auto-init/builders/AutoInitCommandBuilder.ts:40

the profile name of the profile type e.g. banana

## Methods

### build

- build(): ICommandDefinition

- - Defined in @zowe/imperative/src/imperative/src/config/cmd/auto-init/builders/AutoInitCommandBuilder.ts:68

  Build the command

  #### Returns ICommandDefinition

### Protected buildAutoInitSegmentFromConfig

- buildAutoInitSegmentFromConfig(): ICommandDefinition

- - Defined in @zowe/imperative/src/imperative/src/config/cmd/auto-init/builders/AutoInitCommandBuilder.ts:76

  Builds only the "auto-init" segment from the auto-init config.

  #### Returns ICommandDefinition

### buildFull

- buildFull(): ICommandDefinition

- - Defined in @zowe/imperative/src/imperative/src/config/cmd/auto-init/builders/AutoInitCommandBuilder.ts:52

  Build the command

  #### Returns ICommandDefinition

  : The command definition.

### getAction

- getAction(): string

- - Defined in @zowe/imperative/src/imperative/src/config/cmd/auto-init/builders/AutoInitCommandBuilder.ts:60

  Gets the "action" that this command builder is building.

  #### Returns string

  : The auth action string

Generated using TypeDoc