command macro documentation