Skip to content

feat(task): print actual command in log#1268

Merged
fdncred merged 1 commit into
nushell:mainfrom
Tyarel8:patch-2
Jul 15, 2026
Merged

feat(task): print actual command in log#1268
fdncred merged 1 commit into
nushell:mainfrom
Tyarel8:patch-2

Conversation

@Tyarel8

@Tyarel8 Tyarel8 commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

When you create a pueue command with task spawn, it always creates something like this nu --config '/path/to/config.nu' --env-config '/path/to/env.nu' /tmp/tmp.A5rnMvNeKm-nu-task.

With this change, doing task log will contain in the command and original_command with the actual contents of the task script, and original_command will be omitted if it's the same as regular command to avoid printing the same twice.

@fdncred fdncred merged commit e0b8d1e into nushell:main Jul 15, 2026
1 check passed
@fdncred

fdncred commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Thanks

@Tyarel8 Tyarel8 deleted the patch-2 branch July 15, 2026 11:48
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.

2 participants