Weird to call these one liners, they're just invocation commands.
By that logic, apache is a one-liner.
By that logic, apache is a one-liner.
The point is that there is a working http server already installed on your machine. And you just need to run this one simple, memorable command to use it.
Very useful if you just want to quickly copy some files from A to B in your LAN or WAN (wouldn't use it over Internet because not encrypted).
Edit: Someone has posted an Apache example: https://gist.github.com/willurd/5720255#gistcomment-3050599