import { TransactionCreateCommand } from 'lisk-commander' ; import { Application , PartialApplicationConfig } from 'lisk-sdk' ; import { getApplication } from '../../app/app' ; type CreateFlags = typeof TransactionCreateCommand . flags & { [ key ] : Record < string , unknown > ; } ; export class CreateCommand extends TransactionCreateCommand { static flags : CreateFlags = { ... TransactionCreateCommand . flags , } ; static args = [ ... TransactionCreateCommand . args ] ; public getApplication ( genesisBlock , config ) { const app = getApplication ( genesisBlock , config ) ; return app ; } }