@backstage/cli-common
Common functionality used by cli, backend, and create-app
Functions
|
Function |
Description |
|---|---|
|
This function can be called to setup undici and node-fetch Proxy agents. You can set GLOBAL_AGENT_HTTP(S)_PROXY to configure a proxy to be used in the CLIs. You can also configure a custom namespace by setting GLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE which will replace the default "GLOBAL_AGENT_" env-var prefix. Make sure to call this function before any other imports. | |
|
Find paths related to a package and its execution context. | |
|
Checks if path is the same as or a child path of base. |
Variables
|
Variable |
Description |
|---|---|
|
The name of the backstage's config file |
Type Aliases
|
Type Alias |
Description |
|---|---|
|
Common paths and resolve functions used by the cli. Currently assumes it is being executed within a monorepo. | |
|
A function that takes a set of path fragments and resolves them into a single complete path, relative to some root. |