It each line is its own text object, simply change its horizontal position.
If you need it "right-aligned", you'll need to make some calculations; simplest option is to just move the origin to the right-hand side and then position the text on the right-edge.
If everything is one text object, you'll need to pad the beginning of certain lines with spaces (or tabs). This is less accurate since spaces are fixed but if it's just indentation you're after, this could work.