Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICommandProfileTypeConfiguration

Cmd packages additions to the profile manager type configuration document. Used by the CliProfileManager. Allows profiles to be built from command arguments. See the "CliProfileManager" for more information.

export
interface

ICommandProfileTypeConfiguration

Hierarchy

Index

Properties

Optional authConfig

Configuration for authentication services to associate with this profile type.

Optional dependencies

dependencies: IProfileDependency[]

The profile dependency specification. Indicates the required or optional profiles that a profile is depedent on. Dependencies are written as part of the profile, but you do NOT need to specify dependencies in your schema document - this is automatically generated based on your specifications.

memberof

IProfileTypeConfiguration

deprecated

Only applies to V1 profiles. For team config, use nested profiles instead.

schema

The JSON schema document. The schema document provides a way to enforce the contents of a profile. The schema conforms exactly to the JSON schema specification. You must supply all properties you would like validated for correctness on the schema, except for "dependencies". Dependency schema checking is generated automatically if you populate the dependencies property of this document.

type

type: string

The name of the profile "type" (e.g. "banana"). The type should be indicative of the profile contents (defined by the profile schema on this document). A "type" is analogous to a category.

memberof

IProfileTypeConfiguration

Optional validationPlanModule

validationPlanModule: string

Path to a module that contains an object that matches the interface IProfileValidationPlan. This is optional, but if provided a "validate profile" command will be generated to give the user a report on the validity of their profile.

memberof

IProfileTypeConfiguration

deprecated

Only applies to V1 profiles. For team config, validate with JSON schema instead.

Generated using TypeDoc