0.6.2 • Published 2 years ago
@motion-12/cli v0.6.2
Motion 12 CLI
This is a command line interface for Motion 12 (https://motion12.digital).
Features
- Creates a Certificate Authority (CA) and a server certificate for *.m12.app.
- Trusts the CA on the host machine.
- Creates a reverse proxy (traefik container) for use with docker containers.
- Creates docker volumes for use with devcontainers.
- Plugin system for adding additional functionality.
- Scaffolding system for creating new projects.
Plugins
- NodeJS plugin for creating a NodeJS devcontainer.
- PHP plugin for creating a PHP devcontainer.
Installation
Install the CLI
pnpm add -g @motion-12/cliUsage
Install
m12 installUninstall
m12 uninstallStart
m12 startStop
m12 stopRestart
m12 restartHelp
m12 --help # or m12 -hBuilding
pnpm install
pnpm nx buildDevelopment
Running
node dist/motion-12-cli/main.jsAdditional Information
CA
Windows (WSL2)
If you are using WSL2 and you need to trust the CA on the host (windows) machine. This is done by copying the CA certificate to the Windows certificate store.
certutil -addstore -f "Root" ~/.m12/certs/ca.crt