git: show output command

This commit is contained in:
Joao Moreno
2017-01-12 16:08:52 +01:00
parent b6eda35873
commit bd8a10e43f
+5
View File
@@ -113,6 +113,7 @@ export class CommandCenter {
commands.registerCommand('git.checkout', this.checkout, this),
commands.registerCommand('git.sync', this.sync, this),
commands.registerCommand('git.publish', this.publish, this),
commands.registerCommand('git.showOutput', this.showOutput, this),
);
}
@@ -323,6 +324,10 @@ export class CommandCenter {
await this.model.push(choice, branchName, { setUpstream: true });
}
showOutput(): void {
this.outputChannel.show();
}
dispose(): void {
this.disposables.forEach(d => d.dispose());
}