@naseej/blox
v1.4.0
Published
blox cli
Readme

Introduction and Goals
BLOX is started kit built to speed Medad Product development by providing prebuild blocks of code that can be added with all its provided functionalities in one cli command.
Prerequisites
- Install yarn
Install
It can have many way to be installed, mainly as global npm package
npm install -g patch-package @naseej/blox- make sure npm is already in you $Path to be able to use blox globally
Usage
blox --helpBLOX CLI
Commands:
blox init Init new app [alias: i]
blox add Add block to app [alias: a]
blox update Update app/block [alias: u]
blox conf Set blox global config [alias: c]
blox upgrade Upgrade blox cli to latest version
blox migrate Migrate blox schema
blox detach Detach to base
Options:
-V, --version Show version number [boolean]
-h, --help Show help [boolean]
-d, --debug Works in debug mode [boolean]
-m, --minimal Works in minimal mode [boolean]- Use minimal mode if spinners are getting in the way of needed input for example.
Available commands
init
blox init --helpblox init
Init new app
Options:
-n, --name App name
-t, --template Template to useadd
blox add --helpblox add [block]
Add block to app
Params:
block Block name (Optional)update
blox update --helpblox update
Update app/block
Options:
-s, --scope Scope of update [choices: "app", "bases", "block", "all"] [default: "all"]
-b, --block Block to update, valid only with scope block- Note: you may need to resolve merge conflicts if found
conf
blox sync --helpblox conf
Set blox global config
Options:
-r, --registries Remote registries urlsupgrade
blox upgradeblox upgrade
Upgrade blox cli to latest versionmigrate
blox migrate --helpblox migrate
Migrate blox schema