The CLI for Sublime Text.

# To open the current directory in Sublime Text:
subl <.>

# To open a file or directory in Sublime Text:
subl <path/to/file_or_folder>

# To open a file or directory in the currently open window:
subl -a <path/to/file>

# To open a file or directory in a new window:
subl -n <path/to/file>