WooCommerce Utilities CLI: Add banner (#37910)

* Add figlet

* lockfile update
This commit is contained in:
Paul Sealock 2023-04-28 08:40:44 +12:00 committed by GitHub
parent 64dbeba260
commit 6b158648e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 408 additions and 473 deletions

File diff suppressed because it is too large Load Diff

View File

@ -15,6 +15,7 @@
"chalk": "^4.1.2",
"commander": "^9.4.0",
"dotenv": "^10.0.0",
"figlet": "^1.6.0",
"graphql": "^16.6.0",
"octokit": "^2.0.14",
"ora": "^5.4.1",

View File

@ -2,12 +2,18 @@
* External dependencies
*/
import { Command } from '@commander-js/extra-typings';
import figlet from 'figlet';
import chalk from 'chalk';
/**
* Internal dependencies
*/
import CodeFreeze from './code-freeze/commands';
console.log(
chalk.rgb( 150, 88, 138 ).bold( figlet.textSync( 'WooCommerce Utilities' ) )
);
export const program = new Command()
.name( 'utils' )
.description( 'Monorepo utilities' )