microsoft / microsoft/vscode

Add a CLI "open" command

Open
#328,446 0 comments 0 reactions 1 assignee Claimed by @deepak1556 View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Add a CLI "open" command to address the problem of 'code ' opening that folder unless the folder name happens to be agent/chat/tunnel. I've found no way to open a folder with the same name as a sub-command from the CLI.

As an example 'code open agent' should launch code and open the folder named agent instead of trying to start/interact with the AI agent host as 'code agent' does.

Supporting 'code -- agent' would also be acceptable as the '--' pattern is a common convention to indicate the end of parameters or subcommands.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.