How to pause sync from command line on MacOS

Is it possible to pause and unpause sync of a library from the command line on macOS?