Upload files to "src/cli"

This commit is contained in:
2026-07-03 03:17:43 +00:00
parent ae840a2d1a
commit 04ad570cfb
5 changed files with 72 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bun
(globalThis as Record<string, unknown>).scramble = (s: string): string => s;
(globalThis as Record<string, unknown>).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);
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bun
(globalThis as Record<string, unknown>).scramble = (s: string): string => s;
(globalThis as Record<string, unknown>).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);
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bun
(globalThis as Record<string, unknown>).scramble = (s: string): string => s;
(globalThis as Record<string, unknown>).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);
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env bun
(globalThis as Record<string, unknown>).scramble = (s: string): string => s;
(globalThis as Record<string, unknown>).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);
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bun
(globalThis as Record<string, unknown>).scramble = (s: string): string => s;
(globalThis as Record<string, unknown>).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);