Make commands available in command line window

Closes #325.