Console (REPL)
Start an interactive console for running CLI commands or JavaScript without retyping the binary name.
mage-remote-run console
Aliases:
mage-remote-run repl
What you can do inside the console
- Run CLI commands directly (for example,
website list). - Run JavaScript with top-level
await. - Use
listto see available commands. - Use
helpto show command help. - Use
.exitto quit.
Globals
These variables are available in the REPL context:
client: async API client factoryconfig: current configurationchalk: output stylingreload(): reload config and commands
Options
Enable debug logging:
mage-remote-run console --debug