Skip to content

Commit

Permalink
fixing the issue with github release
Browse files Browse the repository at this point in the history
  • Loading branch information
chenbishop committed Jul 12, 2022
1 parent 0a2bd72 commit 0ead876
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cliCmd/deploy/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ import {Command, EnumType} from "https://deno.land/x/cliffy/command/mod.ts";
import {loadNetworkAndApiKey} from "../../utils/smallUtilFuncs.mjs";
import {TwingateApiClient} from "../../TwingateApiClient.mjs";
import {Log} from "../../utils/log.js";
import {deployTerraformCommand} from "./terraform.mjs";
// import {deployTerraformCommand} from "./terraform.mjs";


export const deployCmd = new Command()
.option("-y, --assume-yes [boolean]", "Automatic yes to prompts; assume 'yes' as answer to all prompts", {global: true})
.description("Deploy Twingate to various targets")
.hidden()
.action(async (options) => {
const {networkName, apiKey} = await loadNetworkAndApiKey(options.accountName);
options.apiKey = apiKey;
options.client = new TwingateApiClient(networkName, apiKey, {logger: Log});
});

deployCmd.command("terraform", deployTerraformCommand);
// deployCmd.command("terraform", deployTerraformCommand);

0 comments on commit 0ead876

Please sign in to comment.