add completion for new features

This commit is contained in:
Federico Luzzi 2023-10-27 13:34:32 -03:00
parent 00905575fc
commit 97c039459c
2 changed files with 7 additions and 1 deletions

View File

@ -1,2 +1,2 @@
__version__ = "3.6.0"
__version__ = "3.6.1"

View File

@ -104,6 +104,10 @@ def main():
elif wordsnumber >= 4 and words[0] == "export" and words[1] != "--help":
strings = [item for item in folders if not any(word in item for word in words[:-1])]
elif wordsnumber >= 4 and words[0] in ["list", "ls"] and words[1] == "nodes":
options = ["--format", "--filter"]
strings = [item for item in options if not any(word in item for word in words[:-1])]
elif wordsnumber == 4:
strings=[]
if words[0] == "profile" and words[1] in ["--rm", "--del", "-r", "--mod", "--edit", "-e", "--show", "-s"]:
@ -116,6 +120,8 @@ def main():
strings=["true", "false"]
if words[0] == "config" and words[1] in ["--configfolder"]:
strings=_getcwd(words,words[0],True)
else:
exit()
if app == "bash":