Skip to main content
Modyo CLI
Carlos Solis avatar
Written by Carlos Solis
Updated over a week ago

The Modyo Command Line Interface (CLI) is a command-line tool based in the two principles of acceleration and integration; these principles have a get and push command respectively.

The commands the CLI offers are:

  • modyo-cli (-v|--version|version): Displays the installed version of Modyo CLI.

  • modyo-cli help [COMMAND]: Displays contextual help depending of the typed command.

  • modyo-cli autocomplete: If this command is activated, you can autocomplete the commands of Modyo CLI.

  • modyo-cli get: Download a widget template from our catalogue using a token provided by Modyo.

  • modyo-cli push: Integrate a widget written in Vue to a selected site in Modyo Platform.

To install the modyo-cli globally you must use one of these options:

via yarn:

$ yarn global add @modyo/cli

or via npm

$ npm i -g @modyo/cli

This command will make the command modyo-cli available on the terminal session globally.

You can find more information about Sites in our documentation.

Did this answer your question?