改了什么
- 命令行:需要填值的参数漏写了值(比如
init --agent后面没写 Agent 名字),以前会被当成没写、照常往下执行,可能装出一份不对的配置;现在会在执行前报错并给出用法。--reason=、--summary=这类填文字的参数留空仍然可以(#453,感谢 16bh)。 - Windows:
agent-autoloop add现在能装本地仓库路径,包括D:\work\my-plugin这样的写法和结尾带\的路径(#454,感谢 adispring)。
What's changed
- CLI: a flag that needs a value but was given none (for example
init --agentwith no Agent name) used to be ignored and the command went ahead, which could leave a wrong config behind. It now stops before doing anything and shows the usage. Empty values are still accepted for free-text flags such as--reason=and--summary=(#453, thanks 16bh). - Windows:
agent-autoloop addnow installs from a local repository path, includingD:\work\my-pluginand paths ending in\(#454, thanks adispring).