X Tutup
Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.19 KB

File metadata and controls

43 lines (32 loc) · 1.19 KB
title sidebarTitle description
CLI switch command
switch
The `trigger.dev switch` command can be used to switch between profiles.

import ProjectPathArg from "/snippets/cli-args-project-path.mdx"; import CommonOptions from "/snippets/cli-options-common.mdx"; import ProjectRefOption from "/snippets/cli-options-project-ref.mdx"; import EnvFileOption from "/snippets/cli-options-env-file.mdx"; import ConfigFileOption from "/snippets/cli-options-config-file.mdx"; import SkipUpdateCheckOption from "/snippets/cli-options-skip-update-check.mdx"; import BranchOption from "/snippets/cli-options-branch.mdx";

Run the command like this:

npx trigger.dev@latest switch [profile]
pnpm dlx trigger.dev@latest switch [profile]
yarn dlx trigger.dev@latest switch [profile]

It will switch to the specified profile. If no profile is specified, it will list all available profiles and run interactively.

Arguments

npx trigger.dev@latest switch [profile]
The profile to switch to. If not specified, it will list all available profiles and run interactively.
X Tutup