def raster(ctx): for svg_path in glob.iglob('./docs/*.svg'): cmd = build_raster_command(svg_path) print('will run now') print(cmd) ctx.run(cmd)