generalized a bit the Sublime Text CLI