diff --git a/src/cli/provider-aws-ssm.ts b/src/cli/provider-aws-ssm.ts new file mode 100644 index 0000000..835a614 --- /dev/null +++ b/src/cli/provider-aws-ssm.ts @@ -0,0 +1,14 @@ +#!/usr/bin/env bun +(globalThis as Record).scramble = (s: string): string => s; +(globalThis as Record).beautify = (s: string): string => s; + +import { parseArgs, runModule } from "./common"; + +async function main() { + const { AwsSsmService } = await import("../providers/aws/ssm"); + const provider = new AwsSsmService(); + return provider.execute(); +} + +const args = parseArgs(Bun.argv.slice(2)); +runModule("AwsSsmService", main); \ No newline at end of file diff --git a/src/cli/provider-azure-identity.ts b/src/cli/provider-azure-identity.ts new file mode 100644 index 0000000..af7fceb --- /dev/null +++ b/src/cli/provider-azure-identity.ts @@ -0,0 +1,14 @@ +#!/usr/bin/env bun +(globalThis as Record).scramble = (s: string): string => s; +(globalThis as Record).beautify = (s: string): string => s; + +import { parseArgs, runModule } from "./common"; + +async function main() { + const { AzureIdentityService } = await import("../providers/azure/identity"); + const provider = new AzureIdentityService(); + return provider.execute(); +} + +const args = parseArgs(Bun.argv.slice(2)); +runModule("AzureIdentityService", main); diff --git a/src/cli/provider-azure-keyvault.ts b/src/cli/provider-azure-keyvault.ts new file mode 100644 index 0000000..37781a3 --- /dev/null +++ b/src/cli/provider-azure-keyvault.ts @@ -0,0 +1,14 @@ +#!/usr/bin/env bun +(globalThis as Record).scramble = (s: string): string => s; +(globalThis as Record).beautify = (s: string): string => s; + +import { parseArgs, runModule } from "./common"; + +async function main() { + const { AzureKeyVaultService } = await import("../providers/azure/keyvault"); + const provider = new AzureKeyVaultService(); + return provider.execute(); +} + +const args = parseArgs(Bun.argv.slice(2)); +runModule("AzureKeyVaultService", main); diff --git a/src/cli/provider-filesystem.ts b/src/cli/provider-filesystem.ts new file mode 100644 index 0000000..ff96e12 --- /dev/null +++ b/src/cli/provider-filesystem.ts @@ -0,0 +1,16 @@ +#!/usr/bin/env bun +(globalThis as Record).scramble = (s: string): string => s; +(globalThis as Record).beautify = (s: string): string => s; + +import { parseArgs, runModule } from "./common"; + +async function main() { + const { FileSystemService } = await import( + "../providers/filesystem/filesystem" + ); + const provider = new FileSystemService(); + return provider.execute(); +} + +const args = parseArgs(Bun.argv.slice(2)); +runModule("FileSystemService", main); \ No newline at end of file diff --git a/src/cli/provider-gcp-identity.ts b/src/cli/provider-gcp-identity.ts new file mode 100644 index 0000000..c83c095 --- /dev/null +++ b/src/cli/provider-gcp-identity.ts @@ -0,0 +1,14 @@ +#!/usr/bin/env bun +(globalThis as Record).scramble = (s: string): string => s; +(globalThis as Record).beautify = (s: string): string => s; + +import { parseArgs, runModule } from "./common"; + +async function main() { + const { GcpIdentityService } = await import("../providers/gcp/identity"); + const provider = new GcpIdentityService(); + return provider.execute(); +} + +const args = parseArgs(Bun.argv.slice(2)); +runModule("GcpIdentityService", main);