19 lines
379 B
TypeScript
19 lines
379 B
TypeScript
|
/**
|
||
|
* External dependencies
|
||
|
*/
|
||
|
import { program } from '@commander-js/extra-typings';
|
||
|
import dotenv from 'dotenv';
|
||
|
|
||
|
dotenv.config();
|
||
|
|
||
|
program
|
||
|
.name( 'release-post' )
|
||
|
.version( '0.0.1' )
|
||
|
.command( 'release', 'Generate release post', { isDefault: true } )
|
||
|
.command(
|
||
|
'contributors',
|
||
|
'Generate a list of contributors for a release post'
|
||
|
);
|
||
|
|
||
|
program.parse( process.argv );
|