Compare commits
2
Commits
completion
...
ttt
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c28be15ed6 | ||
|
|
3e980c9d14 |
+1
-1
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
#test
|
||||
_action(){
|
||||
COMPREPLY=()
|
||||
cur=${COMP_WORDS[COMP_CWORD]}
|
||||
|
||||
+1
-1
@@ -33,10 +33,10 @@ class ConsoleScript(cli2.ConsoleScript):
|
||||
self.exit_code = 1
|
||||
return
|
||||
shlaxfile = mod.__file__
|
||||
self._doc = inspect.getdoc(mod)
|
||||
|
||||
self.shlaxfile = Shlaxfile()
|
||||
self.shlaxfile.parse(shlaxfile)
|
||||
self._doc = inspect.getdoc(mod)
|
||||
if 'main' in self.shlaxfile.actions:
|
||||
action = self.shlaxfile.actions['main']
|
||||
for name, child in self.shlaxfile.actions['main'].menu.items():
|
||||
|
||||
Reference in New Issue
Block a user