A bash completion script can be obtained by running
sloane --bash-completion-script `which sloane`
This functionality is due to the excellent optparse-applicative library. For more information see https://github.com/pcapriotti/optparse-applicative/wiki/Bash-Completion.