update completion with new features
This commit is contained in:
@ -1,2 +1,2 @@
|
|||||||
__version__ = "3.0.0"
|
__version__ = "3.0.1"
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ def main():
|
|||||||
wordsnumber = int(sys.argv[1])
|
wordsnumber = int(sys.argv[1])
|
||||||
words = sys.argv[3:]
|
words = sys.argv[3:]
|
||||||
if wordsnumber == 2:
|
if wordsnumber == 2:
|
||||||
strings=["--add", "--del", "--rm", "--edit", "--mod", "--show", "mv", "move", "ls", "list", "cp", "copy", "profile", "run", "bulk", "config", "--help"]
|
strings=["--add", "--del", "--rm", "--edit", "--mod", "--show", "mv", "move", "ls", "list", "cp", "copy", "profile", "run", "bulk", "config", "api", "--help"]
|
||||||
strings.extend(nodes)
|
strings.extend(nodes)
|
||||||
strings.extend(folders)
|
strings.extend(folders)
|
||||||
|
|
||||||
@ -48,7 +48,9 @@ def main():
|
|||||||
if words[0] == "profile":
|
if words[0] == "profile":
|
||||||
strings=["--add", "--rm", "--del", "--edit", "--mod", "--show", "--help"]
|
strings=["--add", "--rm", "--del", "--edit", "--mod", "--show", "--help"]
|
||||||
if words[0] == "config":
|
if words[0] == "config":
|
||||||
strings=["--allow-uppercase", "--keepalive", "--completion", "--fzf", "--help"]
|
strings=["--allow-uppercase", "--keepalive", "--completion", "--fzf", "--configfolder", "--help"]
|
||||||
|
if words[0] == "api":
|
||||||
|
strings=["--start", "--stop", "--restart", "--help"]
|
||||||
if words[0] in ["--mod", "--edit", "-e", "--show", "-s", "--add", "-a", "--rm", "--del", "-r"]:
|
if words[0] in ["--mod", "--edit", "-e", "--show", "-s", "--add", "-a", "--rm", "--del", "-r"]:
|
||||||
strings=["profile"]
|
strings=["profile"]
|
||||||
if words[0] in ["list", "ls"]:
|
if words[0] in ["list", "ls"]:
|
||||||
|
Reference in New Issue
Block a user