Skip to main content
Version: Next

ConfigSources.parseArgs()

Home > @backstage/config-loader > ConfigSources > parseArgs

Parses command line arguments and returns the config targets.

Signature:

static parseArgs(argv?: string[]): ConfigSourceTarget[];

Parameters

Parameter

Type

Description

argv

string[]

(Optional) The command line arguments to parse. Defaults to process.argv

**Returns:**

ConfigSourceTarget[]

A list of config targets