CLI Reference

The Learnir CLI is your way to interact with Learnir for your advanced use cases.

  • Pulling or Pushing your website source code
  • Publishing your website or creating preview deploys.

Installation

  • This is being worked on.

Commands

  • learnir auth : Authenticates with your Learnir account.
  • learnir init : Initiates a template project of your choice that you choose.
  • learnir pull : Combined with an auth code, pulls your deployed website source code
  • learnir deploy : Deploys your website to a production or with --preview flag, creates a preview deploy

Updates

The CLI will indicate to you when there are updates to the Learnir CLI and the command to update it.