WooCommerce Utilities CLI: Add banner (#37910)
* Add figlet * lockfile update
This commit is contained in:
parent
64dbeba260
commit
6b158648e3
874
pnpm-lock.yaml
874
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -15,6 +15,7 @@
|
||||||
"chalk": "^4.1.2",
|
"chalk": "^4.1.2",
|
||||||
"commander": "^9.4.0",
|
"commander": "^9.4.0",
|
||||||
"dotenv": "^10.0.0",
|
"dotenv": "^10.0.0",
|
||||||
|
"figlet": "^1.6.0",
|
||||||
"graphql": "^16.6.0",
|
"graphql": "^16.6.0",
|
||||||
"octokit": "^2.0.14",
|
"octokit": "^2.0.14",
|
||||||
"ora": "^5.4.1",
|
"ora": "^5.4.1",
|
||||||
|
|
|
@ -2,12 +2,18 @@
|
||||||
* External dependencies
|
* External dependencies
|
||||||
*/
|
*/
|
||||||
import { Command } from '@commander-js/extra-typings';
|
import { Command } from '@commander-js/extra-typings';
|
||||||
|
import figlet from 'figlet';
|
||||||
|
import chalk from 'chalk';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Internal dependencies
|
* Internal dependencies
|
||||||
*/
|
*/
|
||||||
import CodeFreeze from './code-freeze/commands';
|
import CodeFreeze from './code-freeze/commands';
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
chalk.rgb( 150, 88, 138 ).bold( figlet.textSync( 'WooCommerce Utilities' ) )
|
||||||
|
);
|
||||||
|
|
||||||
export const program = new Command()
|
export const program = new Command()
|
||||||
.name( 'utils' )
|
.name( 'utils' )
|
||||||
.description( 'Monorepo utilities' )
|
.description( 'Monorepo utilities' )
|
||||||
|
|
Loading…
Reference in New Issue