Cli

A companion CLI to the Fyord framework

npm i -g fyord-cli

Help

fyord help | fyord h | fyord h generate
Lists all fyord commands. Passing a command argument will list additional details about that command.

Version

fyord version | fyord v
Prints the version of the fyord-cli being ran.

New

fyord new MyNewApp | fyord n MyNewApp | fyord n MyNewApp scss
Creates a new fyord app. Optionally pass "scss" as an argument after the app name to use sass and init with the scss style extension.

Generate

fyord generate {type} | fyord g {type}

Scaffold a fyord app component, page, etc. in the current directory. For components and pages, local module files are updated for greater productivity.

Available Types: component (c), page (p), singleton (s), pipeline (pl), custom-element (ce), web-component (wc)

Configure

fyord configure | fyord c
Configure settings saved in fyord.json configuration file.

Pre-render

fyord prerender | fyord pr
Crawls and pre renders pages within the app.

Wasm-init

fyord wasminit | fyord wi
Prepares a fyord project for wasm development using rust

Docs

fyord docs | fyord d | fyord docs sass
Opens the user's default browser to the fyord.dev docs page pre-filled with their query.

Static-init

fyord staticinit | fyord si
Prepares a fyord project for the static build-time assets convention.

Build-static

fyord buildstatic | fyord bs
Builds resources following the "static" resources convention.

Electron-init

fyord electroninit | fyord ei
Converts a fyord project for Electron development.