This is what Arista has been different than other network vendor, which you can implement your own UNIX scripts into the Arista switches to make your own CLI command. Arista even suggests end users to do so since their philosophy is an open-source box. In other word, please do hack Arista devices
Arista could probably afford such thinking since their products are just switches; no firewalls