579c3717a5
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> |
||
---|---|---|
.. | ||
neofs-adm | ||
neofs-cli | ||
neofs-ir | ||
neofs-lens | ||
neofs-node |