Split commonJS into two sections: the public API and the command-line API.