Global

Members

string

# EnvVars

This enum provides a centralized list of environment variable names used across the project. It helps maintain consistency and prevents typos when referencing these variables in different parts of the code.

Enumeration of environment variables used in the Fabric Weaver project

View Source core/constants/env-vars.ts, line 13

Example
import { EnvVars } from '../core/constants/env-vars';

const binFolder = process.env[EnvVars.FABRIC_BIN_FOLDER];
string

# FabricCAClientCommand

This enum represents all the possible commands that can be executed using the Fabric CA Client.

Enumeration of available Fabric CA Client commands.

View Source fabric/constants/fabric-ca-client.ts, line 7

string

# readonly FabricLogLevel

Enumeration of available log levels for Hyperledger Fabric components. These levels determine the verbosity and type of information logged by the system.

Log levels for Fabric components.

View Source fabric/constants/fabric-general.ts, line 29

Methods

# overrideNonUndefined(target, source)

Overrides properties of the target object with non-undefined values from the source object.

Overrides properties of the target object with non-undefined values from the source object.

Parameters:
Name Type Description
target

The object to be modified

source

The object containing override values

View Source utils-old/object.ts, line 9

The modified target object

# resolvePath(inputPath)

Resolves a provided path to an absolute path.

Resolves a provided path to an absolute path. If the input path is already absolute, it returns it unchanged. If it's relative, it resolves it based on the current working directory.

Parameters:
Name Type Description
inputPath

The path to evaluate.

View Source utils-old/path.ts, line 12

An absolute path.

# run() → {void}

Parses the command-line arguments and executes the appropriate command

.

Parses the command-line arguments and executes the appropriate command

View Source core/cli/base-cli.ts, line 133

void