diff --git a/Source/Commander.spoon/init.lua b/Source/Commander.spoon/init.lua index b9df2b77..3dae3e2a 100644 --- a/Source/Commander.spoon/init.lua +++ b/Source/Commander.spoon/init.lua @@ -5,7 +5,7 @@ --- The way of Commander to generate it command list is --- it goes to each spoon and extract all public functions inside the spoon table. --- for each function the name is set to "spoonName.functionName". ---- if the spoon has a table called `commandderCommandTable`, Commander will +--- if the spoon has a table called `commanderCommandList`, Commander will --- ignore everything else and take whatever is in the table. --- In this case the naming convention is the same. --- Then Commander grabs all the functions in global table. diff --git a/docs/Commander.html b/docs/Commander.html index 4de10c35..02d03478 100644 --- a/docs/Commander.html +++ b/docs/Commander.html @@ -19,7 +19,7 @@

docs » Commander

The way of Commander to generate it command list is it goes to each spoon and extract all public functions inside the spoon table. for each function the name is set to "spoonName.functionName". -if the spoon has a table called commandderCommandTable, Commander will +if the spoon has a table called commanderCommandList, Commander will ignore everything else and take whatever is in the table. In this case the naming convention is the same. Then Commander grabs all the functions in global table. @@ -263,4 +263,4 @@

show
- \ No newline at end of file + diff --git a/docs/docs.json b/docs/docs.json index fda477a2..9ff7412d 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -3700,7 +3700,7 @@ } ], "desc": "This spoon lets execute commands from other spoon by a chooser.", - "doc": "This spoon lets execute commands from other spoon by a chooser.\n\nThe way of Commander to generate it command list is\nit goes to each spoon and extract all public functions inside the spoon table.\nfor each function the name is set to \"spoonName.functionName\".\nif the spoon has a table called `commandderCommandTable`, Commander will\nignore everything else and take whatever is in the table.\nIn this case the naming convention is the same.\nThen Commander grabs all the functions in global table.\nfunctions are tested against `Commander.ignoredCommandList`,\nexcept when spoon author provides a `commanderCommandList`.\n\nCommander.chooser is the chooser, you can set background color, rows, etc, to it.", + "doc": "This spoon lets execute commands from other spoon by a chooser.\n\nThe way of Commander to generate it command list is\nit goes to each spoon and extract all public functions inside the spoon table.\nfor each function the name is set to \"spoonName.functionName\".\nif the spoon has a table called `commanderCommandList`, Commander will\nignore everything else and take whatever is in the table.\nIn this case the naming convention is the same.\nThen Commander grabs all the functions in global table.\nfunctions are tested against `Commander.ignoredCommandList`,\nexcept when spoon author provides a `commanderCommandList`.\n\nCommander.chooser is the chooser, you can set background color, rows, etc, to it.", "items": [ { "def": "Commander.addCommand(commandTable)", @@ -21921,4 +21921,4 @@ "submodules": [], "type": "Module" } -] \ No newline at end of file +]