command-line functionality interface