Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 system 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?

like image 651
Tom H Avatar asked Sep 18 '25 10:09

Tom H


1 Answers

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.

like image 129
Andy Schneider Avatar answered Sep 21 '25 01:09

Andy Schneider