ApeWorX / silverback

Blockchain automation library, and SDK for the Silverback Platform
https://apeworx.io/silverback
Apache License 2.0
88 stars 10 forks source link

Add wildcard handling to certain `silverback cluster` commands #168

Open fubuloubu opened 1 week ago

fubuloubu commented 1 week ago

Overview

Sometimes you have multiple bots that you want to control at the same time. Assuming they have similar names, for example in my stablecoin cluster I have redemptions-<network name> and compliance-<network name>, it would be very helpful to be able to use a wildcard (e.g. *) to fuzzy match multiple names for a command (e.g. silverback cluster bots stop *-optimism to stop all the bots on optimism, or just silverback cluster bots stop * to stop all the bots on the cluster) so I don't have to run the same command repetitively

Specification

Allow wildcard matches via *

TBD

Dependencies

n/a

linear[bot] commented 1 week ago

SBK-610 Add wildcard handling to certain `silverback cluster` commands