Add help section for commands
This commit is contained in:
parent
17a2d48b2e
commit
78f22fce4e
3 changed files with 151 additions and 78 deletions
|
@ -789,7 +789,7 @@ export default class App extends Component {
|
|||
}
|
||||
|
||||
try {
|
||||
cmd(this, args);
|
||||
cmd.execute(this, args);
|
||||
} catch (error) {
|
||||
console.error("Failed to execute command '" + name + "'", error);
|
||||
this.setState({ error });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue