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

Add --variables subcommand that prints variable names #608

Merged
merged 1 commit into from
Mar 14, 2020
Merged

Conversation

casey
Copy link
Owner

@casey casey commented Mar 14, 2020

Add a subcommand that prints out a space-separated list of the names of
top-level variables in the justfile.

The syntax is:

$ just --variables
a b c

This can be used for any purpose, but is mostly intended for completion
scripts, so that they can get the names of variables without using
--evaluate.

Useful for #606.

Add a subcommand that prints out a space-separated list of the names of
top-level variables in the justfile.

The syntax is:

    $ just --variables
    a b c

This can be used for any purpose, but is mostly intended for completion
scripts, so that they can get the names of variables without using
`--evaluate`.

Additionally:

- Add `bin/generate-completions` script to regenerate checked-in
  completions
- Update dependencies
- Regenerate checked-in completions
@casey casey merged commit 1dbc765 into master Mar 14, 2020
@casey casey deleted the variables branch March 14, 2020 05:19
@casey casey mentioned this pull request Mar 14, 2020
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.

None yet

1 participant