0.0.0 • Published 4 years ago

@plurid/developer-cli v0.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Contents

About

developer is a service or self-hosted Centralized Source Processor.

A Source Processor handles the totality of transformations that are required in order to have the source code runtime-ready.

Such transformations, in a NodeJS for web context, consist of linting, testing, transpilation, tree-shaking and other optimizations, bundling. In a C++ for embedded use context, it may consist only in a targeted compilation.

The developer-server registers configurations which receive messages from the developer-client, the CLI.

The messages can be simple command calls defined in the configuration, such as build, or more complex ones, based on custom scripts.

Given a command processed by the server, if there is any output, such as built files, the server will speak with the client to receive the files on the local machine, and place them accordingly, based on the configuration.

CLI

Usage: developer <command>

Options:
    -v, --version               output the version number
    -h, --help                  display help for command

Commands:
  status                        show the connection status
  machine [options]             set a name for the machine
  login [options]               log into a developer server
  logout [options]              log out of a developer server
  start [options]               start the developer server connection
  stop [options]                stop the developer server connection
  setup [options]               setup a connection to a developer server
  setdown [options]             setdown, remove a connection to a developer server
  register [path]               register a project for the developer server, on a path or in the current directory
  deregister [path]             deregister a project for the developer server, on a path or in the current directory
  lint [project]                lint a registered project or the current directory project
  test [project]                test a registered project or the current directory project
  preview [project]             preview web elements and scenarios for a registered project or the current directory project
  watch [project]               watch for changes a registered project or the current directory project
  build [project]               build a registered project or the current directory project
  run <command> [project]       run a named-command in a registered project or the current directory project

Packages

@plurid/developer-cli • the Command-Line Interface client

@plurid/developer-server • the server application