Axidraw -M pen_up is not a valid command for the AxiDraw CLI.
I *think* that what you are looking for is:
axicli -m manual -M raise_pen, which will raise the pen and does not require an input file name.
If you use
axicli -M raise_pen (or
axicli -M pen_up), it will require a document, and plot that document, rather than raising pen. The
-M specifies which manual_cmd to run, but since you have not specified any mode other than the default mode (
plot), the AxiDraw will run in
plot mode and ignore the value of the -M switch.