Open ethanpailes opened 3 weeks ago
We might also want to think about adding a "header" and "footer" option, though those should probably apply to dump mode as well. I should probably make a seperate issue for that.
Custom headers and footers are kinda already covered by "motd_args" since that lets you register a custom shpool specific message.
I'm worried that the motd pager mode, which is turned on with:
is too annoying as things stand. I think that in addition to the
bin
option, we should include ashow_every
option which allows the user to specify a duration (in the same format accepted byshpool attach --ttl <duration>
) that shpool will suppress the motd for once it has show it. This will make it so users are shown the motd just once every day rather than every time they reconnect.We might also want to consider adding something like a
banner
option so an explaination of what is going on can be added, in case this setting has been enabled globally rather than explicitly by a user.