Make a lock file or env variable and alias the CLI command to test for the lock before it starts the real command.
posted 9mo ago by Michael