Add cleandoc subcommand