Skip to content

Commit

Permalink
fix: fix command flags inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
pviti committed May 30, 2024
1 parent cc725a7 commit edc4acc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ export default abstract class BaseCommand extends Command {

export abstract class ExportCommand extends BaseCommand {

static baseFlags = {
...BaseCommand.baseFlags
}

protected async getExportedFile(attachmentUrl?: string | null, flags?: any): Promise<string> {

if (!attachmentUrl) return ''
Expand Down

0 comments on commit edc4acc

Please sign in to comment.