lmb/cli.py: wrote average prototype