You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

23 lines
483 B

'use strict';
import { executeGitCommand } from '../commands';
import { Command, command, Commands } from './common';
export interface ShowQuickRepoStatusCommandArgs {
repoPath?: string;
}
@command()
export class ShowQuickRepoStatusCommand extends Command {
constructor() {
super(Commands.ShowQuickRepoStatus);
}
async execute(args?: ShowQuickRepoStatusCommandArgs) {
return executeGitCommand({
command: 'status',
state: {
repo: args?.repoPath,
},
});
}
}