2022-09-10 21:55:53 +00:00
|
|
|
/**
|
|
|
|
* 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 } )
|
2023-03-16 19:37:53 +00:00
|
|
|
.command( 'beta', 'Generate draft beta release post' )
|
2022-09-10 21:55:53 +00:00
|
|
|
.command(
|
|
|
|
'contributors',
|
|
|
|
'Generate a list of contributors for a release post'
|
|
|
|
);
|
|
|
|
|
|
|
|
program.parse( process.argv );
|