From 470355feb4f67b1d42104756c837b50b4d8de92b Mon Sep 17 00:00:00 2001 From: Vlad Frangu Date: Wed, 4 Sep 2024 18:11:32 +0300 Subject: [PATCH] feat: new command namespaces --- src/commands/actors/index.ts | 9 +++++++++ src/commands/datasets/index.ts | 9 +++++++++ src/commands/key-value-stores/index.ts | 9 +++++++++ src/commands/request-queues/index.ts | 9 +++++++++ src/commands/runs/index.ts | 9 +++++++++ 5 files changed, 45 insertions(+) create mode 100644 src/commands/actors/index.ts create mode 100644 src/commands/datasets/index.ts create mode 100644 src/commands/key-value-stores/index.ts create mode 100644 src/commands/request-queues/index.ts create mode 100644 src/commands/runs/index.ts diff --git a/src/commands/actors/index.ts b/src/commands/actors/index.ts new file mode 100644 index 000000000..0a29e6b49 --- /dev/null +++ b/src/commands/actors/index.ts @@ -0,0 +1,9 @@ +import { ApifyCommand } from '../../lib/apify_command.js'; + +export class ActorIndexCommand extends ApifyCommand { + static override description = 'Commands are designed to be used with Actors.'; + + async run() { + await this.printHelp(); + } +} diff --git a/src/commands/datasets/index.ts b/src/commands/datasets/index.ts new file mode 100644 index 000000000..c8a55dac5 --- /dev/null +++ b/src/commands/datasets/index.ts @@ -0,0 +1,9 @@ +import { ApifyCommand } from '../../lib/apify_command.js'; + +export class DatasetsIndexCommand extends ApifyCommand { + static override description = 'Commands are designed to be used with Datasets.'; + + async run() { + await this.printHelp(); + } +} diff --git a/src/commands/key-value-stores/index.ts b/src/commands/key-value-stores/index.ts new file mode 100644 index 000000000..df76c3ca4 --- /dev/null +++ b/src/commands/key-value-stores/index.ts @@ -0,0 +1,9 @@ +import { ApifyCommand } from '../../lib/apify_command.js'; + +export class KeyValueStoresIndexCommand extends ApifyCommand { + static override description = 'Commands are designed to be used with Key Value Stores.'; + + async run() { + await this.printHelp(); + } +} diff --git a/src/commands/request-queues/index.ts b/src/commands/request-queues/index.ts new file mode 100644 index 000000000..6303bf048 --- /dev/null +++ b/src/commands/request-queues/index.ts @@ -0,0 +1,9 @@ +import { ApifyCommand } from '../../lib/apify_command.js'; + +export class RequestQueuesIndexCommand extends ApifyCommand { + static override description = 'Commands are designed to be used with Request Queues.'; + + async run() { + await this.printHelp(); + } +} diff --git a/src/commands/runs/index.ts b/src/commands/runs/index.ts new file mode 100644 index 000000000..e8f80f1ed --- /dev/null +++ b/src/commands/runs/index.ts @@ -0,0 +1,9 @@ +import { ApifyCommand } from '../../lib/apify_command.js'; + +export class RunsIndexCommand extends ApifyCommand { + static override description = 'Commands are designed to be used with Actor Runs.'; + + async run() { + await this.printHelp(); + } +}