1 | import bash from 'vamtiger-bash';
|
2 |
|
3 | export default (params: Params) => {
|
4 | const workingDirectory = params.workingDirectory;
|
5 | const bashOptions = {
|
6 | cwd: workingDirectory
|
7 | };
|
8 | const initializeRepository = 'git init';
|
9 |
|
10 | console.log(initializeRepository);
|
11 |
|
12 | return bash(
|
13 | 'git init',
|
14 | bashOptions
|
15 | );
|
16 | }
|
17 |
|
18 | export interface Params {
|
19 | workingDirectory: string;
|
20 | } |
\ | No newline at end of file |