[#1332] cli: Implement tree add-by-path command

It is `TreeService.AddNodeByPath` method implementation.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-10-12 17:48:21 +03:00 committed by Pavel Karpy
parent 3d8349d7f8
commit 6e4f7180fe
2 changed files with 96 additions and 0 deletions

View file

@ -12,9 +12,11 @@ var Cmd = &cobra.Command{
func init() {
Cmd.AddCommand(addCmd)
Cmd.AddCommand(getByPathCmd)
Cmd.AddCommand(addByPathCmd)
initAddCmd()
initGetByPathCmd()
initAddByPathCmd()
}
const (