UNPKG

workspace-tools

Version:

A collection of utilities that are useful in a git-controlled monorepo managed by one of these tools:

9 lines (8 loc) 308 B
import { GitCommonOptions } from "./types"; /** * Get the value of a git config key. Returns null if it's not set. * (Note: setting `throwOnError: true` will cause it to fail if the key is unset.) */ export declare function getConfigValue(options: { key: string; } & GitCommonOptions): string | null;