Skip to content

Commit 73a85ec

Browse files
committed
✨ tweak: update commit handling
1 parent a68905a commit 73a85ec

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

source/app.js

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
11
import React from 'react';
2-
import {Text} from 'ink';
2+
import {Text, Newline} from 'ink';
33
import BigText from 'ink-big-text';
44
import Gradient from 'ink-gradient';
5-
// import getGitDiff from './utils/openai.js';
65
import info from './utils/info.js';
6+
import askForCommitMessage from './utils/commit.js';
77

88
export default function App() {
9-
// getGitDiff();
9+
askForCommitMessage();
1010
return (
1111
<>
12-
<Text color='yellow'>Note: Coming Soon... Follow @warengonzaga for updates</Text>
1312
<Gradient name='passion'>
1413
<BigText text='Magicc' />
1514
<Text>You can do `magicc`, you can build anything that you desire. 🪄</Text>
1615
</Gradient>
17-
<Text>Version: <Text color='green'>{info('version')}</Text> | Author: <Text color='blue'>{info('author')}</Text></Text>
16+
<Text>
17+
Version: <Text color='green'>{info('version')}</Text> |
18+
Author: <Text color='blue'>{info('author')}</Text><Newline/>
19+
<Text>
20+
Need Help? <Text color="cyan">magicc --help</Text>
21+
</Text><Newline/>
22+
==================================================
23+
</Text>
1824
</>
1925
);
2026
}

0 commit comments

Comments
 (0)