cli import support (Closes #32)