Skip to content

Commit

Permalink
chore(docs): improve BaseCommand comments
Browse files Browse the repository at this point in the history
  • Loading branch information
slowbackspace committed Nov 26, 2021
1 parent a3a39dd commit 0d8c4d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/helpers/BaseCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import { ENV_VAR_PROJECT_ID, TESTNET_MAGIC } from '../constants';

export abstract class BaseCommand extends Command {
private client: BlockFrostAPI | null;
// method that returns data to be printed. Called from run().
// Method that returns data to be printed to stdout. Will be called from 'run' method.
abstract doWork(): Promise<any>;
// each commands extends this class and can define additional flags
// without scrict mode disabled calling parseBaseCommand from this class would fail because of unknown flags/arguments
// Each command extends this class and can define additional flags
// without strict mode disabled calling 'parseBaseCommand' from within this class would fail because of unknown flags/arguments
static strict = false;

static flags = {
Expand Down

0 comments on commit 0d8c4d5

Please sign in to comment.