In my place of employment, anything I create while on company time or using company resources is the property of my employer.

So while it might be nice to say I won't share, boss-man can certainly make it so I must share.

Ownership of the IP, as it were, is certainly true, but usually with these tools, most of the battle is documenting it, training people, answering questions, etc., and if you aren't motivated to do that it's very hard to make it happen.

Boss-man actually has a very difficult time turning legal theoretic right into actual deliverables.

They can't force you to share what they don't know about or don't understand.

Exactly. I get why multiple people are replying that my company owns what I make on their time, but it's honestly funny as hell to me that people think most management at any company cares about or understands some CLI tool enough that they would know about it in the first place or actually go through the effort to force one to hand it over. That's gotta be really rare. Being concerned about that is like being afraid drive through a red light at an empty intersection when you're the only car on the road at 3am.

It's not about that, it's about the incentive...