Create spritesheet for each layer

Hello I would like to generate a spritesheet for each layer using the command line utilies but the following command only outputs one png and one json file where I expected to have multiple png files and one json file:

aseprite ^
–all-layers --split-layers --list-layers ^
–batch %INPUT_FILES% ^
–sheet %OUTPUT_NAME%.{layer}.png ^
–filename-format “{title}_{tag} {tagframe}” --data %OUTPUT_NAME%.json ^
–border-padding 8 --shape-padding 8 --sheet-pack --extrude