Add help section for commands

This commit is contained in:
Simon Ser 2021-03-08 17:25:00 +01:00
parent 17a2d48b2e
commit 78f22fce4e
3 changed files with 151 additions and 78 deletions

View file

@ -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 });