To use this cli, we need to first Install Nodejs, then run the following command.
npm i -g namirasoft-nws-region-api-v1
Returns the application health status
ns-nws-region healthz get
Returns the application liveness status
ns-nws-region health liveness
Returns the application readiness status
ns-nws-region health readiness
Returns the application metrics
ns-nws-region metrics get
Returns the value list of a given table and column
ns-nws-region value list {table} {column} {search} {field_id} {limit}
Returns a region by an id
ns-nws-region region _get {id}
Updates a region property by name and value
ns-nws-region region _set {id}
--name (String)
--value (String)
--sensitive (Boolean)
Returns the region list
ns-nws-region region list {filters} {page} {size} {sorts}
Returns a region by an id
ns-nws-region region get {id}
{  "name": "Region",  "type": "Object",  "required": true,  "fields": {    "id": {      "type": "String",      "required": true,      "min": 20,      "max": 20    },    "user_id": {      "type": "String",      "required": false,      "min": 20,      "max": 20    },    "name": {      "type": "String",      "required": true,      "max": 255    },    "provider": {      "type": "String",      "required": true,      "max": 255    },    "country": {      "type": "String",      "required": true,      "max": 255    },    "description": {      "type": "String",      "required": true    },    "created_at": {      "type": "DateTime",      "required": true    },    "updated_at": {      "type": "DateTime",      "required": true    }  }}
©Copyright 2010 to 2025 Namira Software Corporation. All rights reserved.