Closed maxim-uvarov closed 6 months ago
> git diff (git describe --tags --abbrev=0 HEAD) HEAD -- nudoc/run.nu | aichat 'summarize changes' The changes made are as follows:
> git diff (git describe --tags --abbrev=0 HEAD) HEAD -- nudoc/run.nu | aichat 'summarize changes'
.md
assemble-script
>
try
backup-file
escape-quotes
nudoc-block
highlight-command
trim-comments-plus
try-append-echo-in
try-handle-errors
execute-code
parse-block-index
assemble-results
> git diff (git describe --tags --abbrev=0 HEAD) HEAD -- nudoc/run.nu | aichat 'summarize changes'
The changes made are as follows:.md
file.assemble-script
function to handle errors and enclose>
commands intotry
blocks to avoid errors and output their messages.backup-file
to create a backup of the file before overwriting it.escape-quotes
,nudoc-block
,highlight-command
,trim-comments-plus
,try-append-echo-in
,try-handle-errors
, andexecute-code
.assemble-script
function to make use of the new functions added.parse-block-index
to parse the block index from the Nu output lines.assemble-results
function to utilize the new functions and provide a more refined output.