Implements commandline tool for macOS