Commit Graph

25 Commits

Author SHA1 Message Date
Poliorcetics
caace0a115
Update clap to version 4 (#1924) 2024-05-14 20:29:40 -07:00
Wouter Jehee
d3d0dbef7d
Add --no-aliases to hide aliases in --list (#1961) 2024-03-26 12:20:46 -07:00
George Shuklin
610aa0c52c
Add -E as alias for --dotenv-path (#1910) 2024-03-19 10:50:34 -07:00
crdx
e92ee922de
Support recipe paths containing :: in Bash completion script (#1863) 2024-01-27 14:02:38 -08:00
Neal Harrington
b66cce0f58
Add --no-deps to skip running recipe dependencies (#1819) 2024-01-09 08:40:08 +00:00
Hwatwasthat
9415bee16b
Add [confirm] attribute (#1723) 2023-11-16 23:51:34 +00:00
N
22e103361f
Allow setting echoed recipe line color (#1670) 2023-10-11 00:04:34 +00:00
Bojan Stipic
f44abdf024
Avoid grep aliases in bash completions (#1622) 2023-06-18 00:05:49 +00:00
maiha
3d6f928e57
Add -n as a short flag for --for dry-run (#1524) 2023-01-24 07:48:30 +00:00
JP Bochi
7f7275550d
Allow bash completion to complete tasks in other directories (#1303) 2022-09-23 20:34:55 -07:00
Kurt Wolf
f70b6711a2
Make completions work with Bash alias (#1035) 2021-12-02 03:38:57 +00:00
Casey Rodarmor
0ae91884e2
Add --dump-format json (#992) 2021-11-17 00:07:48 -08:00
Hoàng Đức Hiếu
1cf8a714e2
fmt: check formatting with --check (#1001) 2021-11-01 04:27:59 +00:00
Matt Boulanger
e72e7dd569
Add flags for specifying name and path environment file (#941) 2021-08-08 22:37:35 -07:00
Casey Rodarmor
5bb4b4a382
Add --changelog subcommand (#932) 2021-07-31 20:53:27 +00:00
Casey Rodarmor
a6453ded99
Add --unstable flag (#869)
Add an `--unstable` flag, indicating that `just` should enable unstable
features. Make `--fmt` only run if `--unstable` is passed.
2021-06-12 22:34:41 +00:00
Oleksii Dorozhkin
8677492d56
Add --fmt subcommand (#837) 2021-06-08 01:01:27 -07:00
Casey Rodarmor
50cd24d37b
Add the --command subcommand (#824) 2021-05-10 03:35:35 +00:00
Casey Rodarmor
bac851ff68
Add options to control list formatting (#753)
Add the `--list-heading` option, to override the heading text printed
before a list, defaulting to `Available recipes:\n`, and
`--list-prefix`, to override the indentation before each list item.
2021-02-09 01:00:20 -08:00
Vikesh Raj
a8361012d6
Complete recipes in bash completion script (#685)
Modifies the bash completion script to complete both recipes and flags.
`just <TAB>` will complete recipes, and `just -<TAB>` will complete
flags and options.
2020-10-05 17:58:30 -07:00
Casey Rodarmor
9d0246998d
Add the --choose subcommand (#680)
The `--choose` subcommand runs a chooser to select a recipe to run. The
chooser should read lines containing recipe names from standard input,
and write one of those names to standard output.

The chooser defaults to `fzf`, a popular fuzzy finder, but can be
overridden by setting $JUST_CHOOSER or passing `--chooser <CHOOSER>`.
2020-09-17 19:43:04 -07:00
Casey Rodarmor
9ecfd2bef4
Add option to print recipes in source order (#669)
Add an `--unsorted` flag, which makes `--list` and `--summary` print
their entries in source order.
2020-08-21 15:13:54 -07:00
Casey Rodarmor
d6a1a2b568
Don't load .env file when --no-dotenv is passed (#627)
Add a `--no-dotenv` flag that suppresses loading `.env` files.
2020-05-23 20:41:12 -07:00
Casey Rodarmor
1dbc765390
Add --variables subcommand that prints variable names (#608)
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
2020-03-13 22:19:43 -07:00
Casey Rodarmor
85e8015702
Generate shell completion scripts with --completions (#572)
Make just print clap-generated shell completion scripts with `--completions`
command. Currently, Bash, Zsh, Fish, PowerShell, and Elvish are supported.

Additionally, the generated completion scripts are checked in to the
`completions` folder.
2020-01-15 01:20:38 -08:00