Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make eval an explicit subcommand and restructure the CLI somewhat #1632

Merged
merged 11 commits into from
Sep 26, 2023

Conversation

vkleen
Copy link
Contributor

@vkleen vkleen commented Sep 26, 2023

This change makes eval an explicit subcommand for the Nickel CLI and adds the ability to pass multiple files to a single CLI invocation. If multiple files are parsed, they will be evaluated separately and the results merged.

Additionally, this PR decouples the customize mode from nickel export and instead makes it available anywhere full evaluation is performed.

@vkleen vkleen changed the title Feat/nickel eval Make eval an explicit subcommand and restructure the CLI somewhat Sep 26, 2023
@github-actions github-actions bot temporarily deployed to pull request September 26, 2023 11:29 Inactive
@github-actions github-actions bot temporarily deployed to pull request September 26, 2023 11:50 Inactive
cli/src/customize.rs Outdated Show resolved Hide resolved
cli/src/input.rs Outdated Show resolved Hide resolved
cli/src/export.rs Outdated Show resolved Hide resolved
Co-authored-by: jneem <joeneeman@gmail.com>
@github-actions github-actions bot temporarily deployed to pull request September 26, 2023 17:39 Inactive
@github-actions github-actions bot temporarily deployed to pull request September 26, 2023 17:44 Inactive
cli/src/eval.rs Outdated Show resolved Hide resolved
Co-authored-by: Yann Hamdaoui <yann.hamdaoui@tweag.io>
@github-actions github-actions bot temporarily deployed to pull request September 26, 2023 20:09 Inactive
@vkleen vkleen added this pull request to the merge queue Sep 26, 2023
Merged via the queue into master with commit 0433886 Sep 26, 2023
5 checks passed
@vkleen vkleen deleted the feat/nickel-eval branch September 26, 2023 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants