import subprocess import click @click.command("compile-css") def compile_css_command(): subprocess.run( [ "node_modules/.bin/sass", "--load-path=node_modules/", "scss/my_bulma.scss", "src/jwebmail/static/css/my_bulma.css", ], check=True, ) click.echo("Done compiling.")