elastic / elastic/cli

Extract expression resolver into a standalone OSS package

Open
#145 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
41
Forks
24
Avg merge
1d 3h
Merged PRs (30d)
56

Description

**Parent Issue:** #71

## Summary

The expression resolver implementation in the CLI (handling `$(env:...)`, `$(file:...)`, etc.) is generic enough that it could be extracted into a standalone open-source package. This would let other CLI tools and config systems reuse the same resolution logic.

## Motivation

Suggested by @JoshMock in #143. The resolver is self-contained, well-tested, and solves a common problem (resolving dynamic expressions in YAML/JSON config). Publishing it as a standalone package would benefit the broader ecosystem.

## Scope

- Extract the resolver into its own package (e.g., `@elastic/config-resolver` or similar)
- Publish to npm
- Maintain the CLI's dependency on the extracted package

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.