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