Turn an API into a tested Go command-line tool.
Recent revisions are kept. Restoring one creates a new revision.