You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: custom-completions/just/just-completions.nu
+26-12Lines changed: 26 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -75,9 +75,9 @@ def "nu-complete just assignments" [] {
75
75
}}
76
76
}
77
77
78
+
# Just: A Command Runner. A handy way to save and run project-specific commands.
78
79
export extern"just" [
79
80
recipe?:string@"nu-complete just"# Recipe to execute
80
-
...args:any@"nu-complete args"# Arguments
81
81
--changelog# Print changelog
82
82
--check# Run `--fmt` in 'check' mode. Exits with 0 if justfile is formatted correctly. Exits with 1 and prints a diff if formatting is required.
83
83
--choose# Select one or more recipes to run using a binary chooser. If `--chooser` is not passed the chooser defaults to the value of $JUST_CHOOSER, falling back to `fzf`
@@ -86,17 +86,25 @@ export extern "just" [
86
86
--dump# Print justfile
87
87
--edit(-e)# Edit justfile with editor given by $VISUAL or $EDITOR, falling back to `vim`
88
88
--evaluate# Evaluate and print all variables. If a variable name is given as an argument, only print that variable's value.
89
+
--explain# Print recipe doc comment before running it
89
90
--fmt# Format and overwrite justfile
91
+
--global-justfile(-g)# Use global justfile
92
+
--groups# List recipe groups
90
93
--highlight# Highlight echoed recipe lines in bold
91
94
--init# Initialize new justfile in project root
92
95
--list(-l)# List available recipes and their arguments
96
+
--man# Print man page
93
97
--no-aliases# Don't show aliases in list
94
98
--no-deps# Don't run recipe dependencies
95
99
--no-dotenv# Don't load `.env` file
96
100
--no-highlight# Don't highlight echoed recipe lines in bold
101
+
--one# Forbid multiple recipes from being invoked on the command line
97
102
--quiet(-q)# Suppress all output
98
103
--shell-command# Invoke <COMMAND> with the shell used to run recipe lines and backticks
99
104
--summary# List names of available recipes
105
+
--tempdir:glob# Save temporary files to <TEMPDIR>.
106
+
--timestamp# Print recipe command timestamps
107
+
--timestamp-format:string# Timestamp format string
100
108
--unsorted(-u)# Return list and summary entries in source order
101
109
--unstable# Enable unstable features
102
110
--variables# List names of variables
@@ -105,31 +113,37 @@ export extern "just" [
105
113
--help(-h)# Print help information
106
114
--version(-V)# Print version information
107
115
108
-
--chooser# Override binary invoked by `--choose`
116
+
--alias-style:string@"nu-complete just al-st"# Set list command alias display style
117
+
--chooser:string# Override binary invoked by `--choose`
0 commit comments