Fixed #19877 -- Added `--no-color` option to `BaseCommand` to avoid using output styles.