-t 开关在 dub init <name> -t vibe.d 中的含义
What the -t switch means in dub init <name> -t vibe.d
我检查了 man dub
、dub help
、dub help init
,但都没有提到 -t
开关。
在线文档更完整一些:
http://code.dlang.org/docs/commandline
-t
是 "type"
Set the type of project to generate. Available types:
minimal - simple "hello world" project (default)
vibe.d - minimal HTTP server based on vibe.d
deimos - skeleton for C header bindings
我检查了 man dub
、dub help
、dub help init
,但都没有提到 -t
开关。
在线文档更完整一些:
http://code.dlang.org/docs/commandline
-t
是 "type"
Set the type of project to generate. Available types:
minimal - simple "hello world" project (default)
vibe.d - minimal HTTP server based on vibe.d
deimos - skeleton for C header bindings