开发者

What are good Powershell verbs for checking in/out files?

I'm trying to stick to the list of approved verbs for my Cmdlets. I currently have a cmdlet to check out a file from our version control s开发者_如何学Goystem and I'm writing one to check a file back in as well.

I'm not sure which verbs really fit though for my naming. For the check-out I was using "Lock", but in addition to checking a file back in, I could also undo my check out. Any suggestions?


Sticking to the "Accepted Verbs", I used Submit, Update, and Request for my TFS Module.

Also, you can add aliases called checkin, checkout, etc and you will not get a prompt saying your module has non-standard verbs when users import it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜