@nomiclabs/buidler > ConfigurableTaskDefinition

# Interface: ConfigurableTaskDefinition

# Hierarchy

ConfigurableTaskDefinition

TaskDefinition

# Index

# Methods


# Methods

# addFlag

addFlag(name: string, description: undefined | string): this

Defined in types.ts:194

Parameters:

Name Type
name string
Optional description undefined | string

Returns: this


# addOptionalParam

addOptionalParam<T>(name: string, description: undefined | string, defaultValue: T, type: types.ArgumentType<T>): this

Defined in types.ts:157

Type parameters:

# T

Parameters:

Name Type
name string
Optional description undefined | string
Optional defaultValue T
Optional type types.ArgumentType<T>

Returns: this


# addOptionalPositionalParam

addOptionalPositionalParam<T>(name: string, description: undefined | string, defaultValue: T, type: types.ArgumentType<T>): this

Defined in types.ts:172

Type parameters:

# T

Parameters:

Name Type
name string
Optional description undefined | string
Optional defaultValue T
Optional type types.ArgumentType<T>

Returns: this


# addOptionalVariadicPositionalParam

addOptionalVariadicPositionalParam<T>(name: string, description: undefined | string, defaultValue: T[], type: types.ArgumentType<T>): this

Defined in types.ts:187

Type parameters:

# T

Parameters:

Name Type
name string
Optional description undefined | string
Optional defaultValue T[]
Optional type types.ArgumentType<T>

Returns: this


# addParam

addParam<T>(name: string, description: undefined | string, defaultValue: T, type: types.ArgumentType<T>, isOptional: undefined | false | true): this

Defined in types.ts:149

Type parameters:

# T

Parameters:

Name Type
name string
Optional description undefined | string
Optional defaultValue T
Optional type types.ArgumentType<T>
Optional isOptional undefined | false | true

Returns: this


# addPositionalParam

addPositionalParam<T>(name: string, description: undefined | string, defaultValue: T, type: types.ArgumentType<T>, isOptional: undefined | false | true): this

Defined in types.ts:164

Type parameters:

# T

Parameters:

Name Type
name string
Optional description undefined | string
Optional defaultValue T
Optional type types.ArgumentType<T>
Optional isOptional undefined | false | true

Returns: this


# addVariadicPositionalParam

addVariadicPositionalParam<T>(name: string, description: undefined | string, defaultValue: T[], type: types.ArgumentType<T>, isOptional: undefined | false | true): this

Defined in types.ts:179

Type parameters:

# T

Parameters:

Name Type
name string
Optional description undefined | string
Optional defaultValue T[]
Optional type types.ArgumentType<T>
Optional isOptional undefined | false | true

Returns: this


# setAction

setAction(action: ActionType<TaskArguments>): this

Defined in types.ts:147

Parameters:

Name Type
action ActionType<TaskArguments>

Returns: this


# setDescription

setDescription(description: string): this

Defined in types.ts:145

Parameters:

Name Type
description string

Returns: this