Exporting or importing data flows with NiFi Toolkit CLI
You can use the NiFi CLI to export flows from the NiFi Registry or import flows to the NiFi Registry.
NiFi CLI is a command line utility included in the NiFi Toolkit. You can use it to interact with NiFi and NiFi Registry instances to automate tasks such as deploying versioned flows and managing process groups and cluster nodes.
In this use case, you can see how to connect the NiFi CLI to a NiFi Registry running in a Flow Management Data Hub cluster using basic authentication. You can also find details on how to use the NiFi CLI to export a versioned flow from this Registry instance, and on how to import it into a different one.