Skip to content

build: Fix arg handling in just recipes#457

Merged
JeanMertz merged 1 commit intomainfrom
prr27
Mar 19, 2026
Merged

build: Fix arg handling in just recipes#457
JeanMertz merged 1 commit intomainfrom
prr27

Conversation

@JeanMertz
Copy link
Collaborator

The commit and rfd-this just recipes were missing the elif [ -n "$args" ] branch, leaving them unable to handle the case where positional arguments are provided without a leading -. Both recipes now match the stage recipe's behavior.

Additionally, the stage recipe was joining the default message and user-provided context with a single space. This has been updated to use \n\n for proper paragraph separation, and the same separator is now used consistently across all three recipes.

Also adds /.jp/conversations/.trash to .gitignore and removes a stale conversation directory exception.

The `commit` and `rfd-this` just recipes were missing the `elif [ -n
"$args" ]` branch, leaving them unable to handle the case where
positional arguments are provided without a leading `-`. Both recipes
now match the `stage` recipe's behavior.

Additionally, the `stage` recipe was joining the default message and
user-provided context with a single space. This has been updated to use
`\n\n` for proper paragraph separation, and the same separator is now
used consistently across all three recipes.

Also adds `/.jp/conversations/.trash` to `.gitignore` and removes a
stale conversation directory exception.

Signed-off-by: Jean Mertz <git@jeanmertz.com>
@JeanMertz JeanMertz merged commit ca6285f into main Mar 19, 2026
12 checks passed
@JeanMertz JeanMertz deleted the prr27 branch March 19, 2026 08:24
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.

1 participant