@shopify/cli-kit
Preparing search index...
node/cli
runCLI
Function runCLI
runCLI
(
options
:
RunCLIOptions
&
{
runInCreateMode
?:
boolean
}
,
launchCLI
?:
(
options
:
{
moduleURL
:
string
}
)
=>
Promise
<
void
>
,
argv
?:
string
[]
,
env
?:
ProcessEnv
,
versions
?:
ProcessVersions
,
)
:
Promise
<
void
>
A function that abstracts away setting up the environment and running a CLI
Parameters
options
:
RunCLIOptions
&
{
runInCreateMode
?:
boolean
}
Options.
launchCLI
:
(
options
:
{
moduleURL
:
string
}
)
=>
Promise
<
void
>
= defaultLaunchCli
argv
:
string
[]
= process.argv
env
:
ProcessEnv
= process.env
versions
:
ProcessVersions
= process.versions
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@shopify/cli-kit
Loading...
A function that abstracts away setting up the environment and running a CLI