The .once -w or .www was released in SQLite 3.47 release last year.
I was trying this command
.once -w results.html
But was getting an error that it was not a valid argument, and the .www command doesn’t exist. I saw the git repo and found the source code and found out that it was released in the recent version. My laptop had SQLite 3.37 version installed.
I ran a docker image of sqlite to the latest version and check out the working of that .www command or .once -w subcommand option.