frostfs-node/cmd
Leonard Lyubich 579c3717a5 [#979] adm/subnet: Inherit pre-run functions in child commands
Cobra commands don't call `PreRun` functions on parent by default. We
need to do it in `subnet` command of admin utility in order to inherit
viper bindings.

Add `inheritPreRun` function which makes sub-commands to call `PreRun`
functions before its own `PreRun`.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-12-01 17:31:04 +03:00
..
neofs-adm [#979] adm/subnet: Inherit pre-run functions in child commands 2021-12-01 17:31:04 +03:00
neofs-cli [#988] cli: Add subnet flag to container create 2021-11-29 11:03:56 +03:00
neofs-ir [#973] ir: Listen and process Put/Delete events of Subnet contract 2021-11-28 16:15:18 +03:00
neofs-lens *: replace neofs-api-go with neofs-sdk-go 2021-11-12 17:29:09 +03:00
neofs-node [#983] node: Configure subnets 2021-11-28 16:42:46 +03:00