There’s an ubuntu package called “pastebinit”
I tested it out with juju status and the like and you just pipe to it and it works out.
juju status | pastebinit
and it spits out a link for you Ubuntu Pastebin
It’s actually kind of cool so I created a zsh pipe alias for it
alias -g P='|pastebinit'
Now I can do
juju status P
And I get the link right back.
I think that folks might want to use other pastebins and such and I’d rather make that the job of a plugin or other tool vs building into Juju personally, but I think highlighting that these tools are out there and making it part of things like bug filing notes/instructions is a really worthwhile endeavor.