<p dir="auto">Hi,<br>
It could be great to have a additional option in command line for add the path to open to the current treeview. Why not <code class="notranslate">-a</code> ?<br>
It is currently only possible with the menu <code class="notranslate">Add project Folder</code></p>
<p dir="auto">The tree-view command "Add Root Folder" is very useful. Frequently I want to open multiple projects in one editor window, with each project as a root folder. This enables things like tree-view's "Hide VCS Ignored Files" to actually work. Other packages also require the root of a repository to be a root folder in tree-view, such as git-blame, for example. Currently, opening a directory from the command line results in opening a new Atom editor window.</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="atom /foo/bar # creates new window with /foo/bar the single root folder in tree-view
atom /foo/baz # creates another window"><pre class="notranslate">atom /foo/bar <span class="pl-c"><span class="pl-c">#</span> creates new window with /foo/bar the single root folder in tree-view</span>
atom /foo/baz <span class="pl-c"><span class="pl-c">#</span> creates another window</span></pre></div>
<p dir="auto">I have a feeling issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="59521078" data-permission-text="Title is private" data-url="https://github.com/atom/tree-view/issues/393" data-hovercard-type="issue" data-hovercard-url="/atom/tree-view/issues/393/hovercard" href="https://github.com/atom/tree-view/issues/393">atom/tree-view#393</a> would block implementing a feature like this, but it would be very nice to support something like the following.</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="atom /foo/bar # creates new window with /foo/bar the single root folder in tree-view
atom -a /foo/baz # adds /foo/baz as a root folder to an existing window (most recently used?)"><pre class="notranslate">atom /foo/bar <span class="pl-c"><span class="pl-c">#</span> creates new window with /foo/bar the single root folder in tree-view</span>
atom -a /foo/baz <span class="pl-c"><span class="pl-c">#</span> adds /foo/baz as a root folder to an existing window (most recently used?)</span></pre></div>