Upload files to "src/cli"
This commit is contained in:
@@ -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);
|
||||||
@@ -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);
|
||||||
@@ -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);
|
||||||
@@ -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);
|
||||||
@@ -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);
|
||||||
Reference in New Issue
Block a user