fix: style of prints for copy and paste at the last of interactive_dispatch_checker

- format is PS000xxx, not xxx
This commit is contained in:
Wataru Otsubo 2024-10-04 20:08:29 +09:00
parent 5eaad80b93
commit e0d55e82f2

View file

@ -165,9 +165,13 @@ function interactive_dispatch_checker(conn::DbConnection)
end
printstyled("Finished\n")
join(dispatch_list, "\n") |> print
map(dispatch_list) do psbid
@sprintf "PS%06d" psbid
end |> (v -> join(v, "\n")) |> print
println()
printstyled("Paste the result\n", underline = true)
printstyled("Paste the result to google sheets\n", underline = true)
@info "Tips: You can use `join(ans, \"\\n\") |> clipboard` in REPL to copy the result to the clipboard"
return dispatch_list