#NEWLINE# @ command #NEWLINE# @ completers ( 'path' ) #NEWLINE# def pos( self , path , position ) : #NEWLINE# #INDENT# path = format_path ( self . _cli . current_path , path ) #NEWLINE# parts = split_path ( path ) #NEWLINE# parent_path = '/' . join ( parts [ : ( - 1 ) ] ) #NEWLINE# child = parts [ ( - 1 ) ] #NEWLINE# parent = self . _resources . get ( parent_path ) #NEWLINE# parent . move_child ( child , position ) #NEWLINE# self . _resources . save ( parent_path , parent )