code
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseUsage
使用方法
- - Opens the current working directory
/code - - Opens the specified folder
/code /path/to/folder
- - 打开当前工作目录
/code - - 打开指定文件夹
/code /path/to/folder
Implementation
实现方式
Run with arguments if provided, otherwise open current directory:
codebash
code ${ARGUMENTS:-.}如果提供了参数则运行带参数的命令,否则打开当前目录:
codebash
code ${ARGUMENTS:-.}