Skip to content

Commit b0cee95

Browse files
committed
docs: add sub project desc
1 parent 47672c2 commit b0cee95

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ Using `default.gitSite=github.com` `default.username=Mmx233` as an example.
4646
### Open project
4747

4848
```shell
49-
code # open idea for current directory
49+
# open idea for current directory
50+
code
51+
code .
5052
5153
code github.com/Mmx233/CodeCli # open the specified project
5254
# commands with similar functionality
@@ -55,6 +57,15 @@ code Mmx233/CodeCli
5557
code CodeCli
5658
5759
code CodeCli --idea webstorm # specify to open the project with WebStorm
60+
61+
# open with relative path
62+
code ..
63+
code ./some_dir
64+
code ../some_dir
65+
66+
# open sub dir as sub project
67+
code github.com/Mmx233/CodeCli/sub_dir
68+
code github.com/Mmx233/CodeCli/sub_dir/another_subdir
5869
```
5970

6071
### Clear projects

0 commit comments

Comments
 (0)