def print_help(): with quiet(): @hosts(DNS_SERVER) def _dnsapi(): result = run('/app/opbin/dns/dnsapi -h') print(result) execute(_dnsapi)