You should realize that the code supporting the .expert shell command is freely usable. You may also have noticed that [the .expert command](https://www.sqlite.org/cli.html#expert) <b>is experimental</b>. This works against its functionality soon being included in the stable API.