Hmm, the reason is that guestfish also can be used like virsh command.
It can be used in a session(><fs>), but it can be also used in a complete command.
Just as I wrote in the function complete_cmd() of this class, the complete command can be:
# guestfish -d domain -i df
The output will be a struct like executing 'df' on host.