Closed steinerkelvin closed 4 months ago
It should be a global flag implemented in the main callback, that will inject the flag value in the context in a property that's used in commands like comx balance transfer to auto-accept confirmations.
comx balance transfer
https://github.com/agicommies/communex/blob/e27c6f2a95c5541dc4e4fc17052758bbbdf4df09/src/communex/cli/root.py#L45
https://github.com/agicommies/communex/blob/e27c6f2a95c5541dc4e4fc17052758bbbdf4df09/src/communex/cli/balance.py#L126
It should be a global flag implemented in the main callback, that will inject the flag value in the context in a property that's used in commands like
comx balance transfer
to auto-accept confirmations.https://github.com/agicommies/communex/blob/e27c6f2a95c5541dc4e4fc17052758bbbdf4df09/src/communex/cli/root.py#L45
https://github.com/agicommies/communex/blob/e27c6f2a95c5541dc4e4fc17052758bbbdf4df09/src/communex/cli/balance.py#L126