generate html from command-line argument