@apility/netflex-cli

1.4.3 • Public • Published

Netflex CLI

LICENSE Version Downloads

This is a cli tool to assist in local development of Netflex based projects. It allows you to run a project locally through Docker, while still being able to edit inside of Netflex.

Installation

npm install @apility/netflex-cli -g

Prerequisite

You will have to have Docker installed on your device.

https://docs.docker.com/install/

See migration guide for existing sites.

Usage

Navigate to the working directory of a Netflex V3 based project

and execute the following command

netflex serve

or you can specify the path as the first option

netflex serve path/to/your/site

You will be prompted to configure the required settings

Build assets

If your Netflex project have a defined build step, you can invoke it by running

netflex serve path/to/your/site --build

Logging

To output logs to stdout use the log flag

netflex serve path/to/your/site --log

Logs will also be outputted in verbose mode

Watch and build assets

If your Netflex project have a defined watcher you can invoke it by running

netflex serve path/to/your/site --watch

To get a verbose output

netflex serve path/to/your/site --watch --verbose

Readme

Keywords

Package Sidebar

Install

npm i @apility/netflex-cli

Weekly Downloads

4

Version

1.4.3

License

MIT

Unpacked Size

162 kB

Total Files

59

Last publish

Collaborators

  • joadpility
  • sleskeleske
  • olavoyen
  • thomas-alrek
  • erikdju
  • cathrinevaage
  • tommysolsen
  • jarjarbinks1985