Function: flagKey()
function flagKey(meta): string;
Defined in: packages/overcast-core/src/config-schema.ts:320
The key a flag parser hands this field's value back under — --core-address
becomes coreAddress, and a field with no flag falls back to its env suffix.
Exported because a host that generates its flags has to agree with flagsThenEnv about this, and deriving it twice is how the two end up disagreeing over a field whose flag and env suffix are not the same word.
Parameters
| Parameter | Type |
|---|---|
meta | ConfigMeta |
Returns
string