piker icon indicating copy to clipboard operation
piker copied to clipboard

Support `--pdb` flag to all `piker` CLI subcmds

Open goodboy opened this issue 2 years ago • 0 comments

Currently only a subset of our CLI (sub-)cmds support passing the --pdb flag when it's actually more broadly useful as a tractor runtime toggle which could be used across all CLI components which open the actor runtime.

I propose to add the --pdb flag support at the piker.cli.cli: click.Group level thus allowing to pass the flag earlier in each command: piker -l cancel --pdb chart btcusdt.binance and removing the duplication in the command options throughout all click.command() definitions.

goodboy avatar Mar 17 '23 17:03 goodboy