- 项目支持指定plate的严格模式,默认不开启。
- add时指定plate,search动作时候仅仅检出plate匹配及为指定plate的项目。
> go build -o jetbrains main.go
> mv jetbrains /usr/local/bin/
> cat > pstorm << EOF
#!/bin/sh
/usr/bin/open -na "/Applications/PhpStorm.app" --args "\$@"
EOF
> jetbrains
Jetbrains项目管理工具
Usage:
root [command]
Available Commands:
add add project
completion Generate the autocompletion script for the specified shell
help Help about any command
list fetch all your projects
remove remove a project
search filter project
Flags:
--bin string Application Path (default "/usr/local/bin/pstorm")
--data-dir string Storage Data Dir (default "/Users/kalep")
--debug Debug Mod (default true)
-h, --help help for root
Use "root [command] --help" for more information about a command.