Is there a way to generate Connection Profile in Hyperledger Fabric automatically (with CLI)?

I am currently working on Hyperledger Fabric, and I just bring up a local network based on the "Build Your First Network" tutorial from HL Fabric official site. Before this, I build a network on IBM Blockchain Platform, and they have a sweet feature that can automatically build a Connection Profile for you. My question is whether Hyperledger Fabric itself has such a tool. Or, we have to manually config the connection profile and find the components by ourselves.

Thanks in advance!