mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-27 12:14:45 +01:00
aa5d18dd1e
This reverts commit 2d275a8f2d
.
18 lines
410 B
JavaScript
Executable file
18 lines
410 B
JavaScript
Executable file
#!/usr/bin/env node
|
|
"use strict";
|
|
|
|
const args = Array.from(process.argv);
|
|
const command = args.pop();
|
|
switch (command) {
|
|
case "--version":
|
|
console.log(`
|
|
⛅️ wrangler 1.1.1 (update available 1.2.3)
|
|
------------------------------------------`);
|
|
process.exit(0);
|
|
case "action-test":
|
|
console.log("Test successful.");
|
|
process.exit(0);
|
|
default:
|
|
console.error("Invalid command");
|
|
process.exit(1);
|
|
}
|