The slate Command Line
Install a small slate launcher and you can open files and folders from your shell, the same way you would with other editors. What you open arrives as new tabs in your running window. This is a desktop feature.
Installing the command
Slate can install a small slate launcher into your PATH so you can open files from any terminal. Do it from the command palette: run the command “Install ‘slate’ command in PATH”. You can type /install, or /cli, to find it quickly.
Opening files and folders
Once installed, run slate notes.md to open a file. Run slate . or slate path/to/folder to open a folder as a workspace root. You can also pass several paths at once to open several things together.
For the other ways to open files in Slate, see opening files.
Opening into the running window
Slate is single-instance, so when Slate is already running, slate <file> opens the file as a new tab in your existing window instead of starting a second copy.
Removing the command
Remove the launcher by running /uninstall from the command palette.