Using the Apache NiFi Toolkit
Also available as:

Interactive Usage

In interactive mode the tab key can be used to perform auto-completion.

For example, typing tab at an empty prompt should display possible commands for the first argument:

demo       exit       help       nifi       registry   session

Typing "nifi " and then a tab will show the sub-commands for NiFi:

#> nifi
cluster-summary       get-nodes             pg-enable-services    pg-set-var
connect-node          get-reg-client-id     pg-get-all-versions   pg-start
create-reg-client     get-root-id           pg-get-services       pg-status
current-user          list-reg-clients      pg-get-vars           pg-stop
delete-node           offload-node          pg-get-version        update-reg-client
disconnect-node       pg-change-version     pg-import
get-node              pg-disable-services   pg-list

Arguments that represent a path to a file, such as -p or when setting a properties file in the session, will auto-complete the path being typed:

#> session set nifi.props /tmp/
dir1/   dir2/   dir3/