We can use legacy CLI of each component i.e Controller and Agent.
To use legacy commands from iofogctl, preface any legacy command you want with:
iofogctl legacy <component> <component-name> command -n <namespace of component>
e.g.
iofogctl legacy agent iofog-agent config -n default
where I want to get the output of the config command from my agent, named iofog-agent
To determine what legacy commands you wish to use, please see the legacy cli documentation for each component at the following links: