File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import { Text } from 'ink' ;
2+ import { Text , Newline } from 'ink' ;
33import BigText from 'ink-big-text' ;
44import Gradient from 'ink-gradient' ;
5- // import getGitDiff from './utils/openai.js';
65import info from './utils/info.js' ;
6+ import askForCommitMessage from './utils/commit.js' ;
77
88export 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}
You can’t perform that action at this time.
0 commit comments