[repl] allow to browse subfolders with ls
This commit is contained in:
parent
9ce72eb706
commit
c20e6123fc
1 changed files with 3 additions and 3 deletions
|
|
@ -1007,10 +1007,10 @@ class ReplApplication(Cmd, ConsoleApplication):
|
||||||
path = None
|
path = None
|
||||||
only = line.strip().partition(' ')[-1]
|
only = line.strip().partition(' ')[-1]
|
||||||
|
|
||||||
|
|
||||||
if path:
|
if path:
|
||||||
# We have an argument, let's ch to the directory before the ls
|
for _path in path.split('/'):
|
||||||
self.working_path.cd1(path)
|
# We have an argument, let's ch to the directory before the ls
|
||||||
|
self.working_path.cd1(_path)
|
||||||
|
|
||||||
objects = []
|
objects = []
|
||||||
collections = []
|
collections = []
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue