Reputation: 47392
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?
Upvotes: 4
Views: 1151
Reputation: 8684
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.
Upvotes: 6