包详细信息

node-red-admin

node-red169.2kApache-2.04.1.0

The Node-RED admin command line interface

自述文件

Node-RED Admin CLI

The Node-RED admin command line interface.

Tests Coverage Status

A command line tool for remotely administering Node-RED.

It is built into node-red and can be run as:

node-red admin ....

Standalone install

Install this globally to make the node-red-admin command available on your path:

npm install -g node-red-admin

Note: you may need to run this with sudo, or from within an Administrator command shell.

You may also need to add --unsafe-perm to the command if you hit permissions errors during installation.

Usage

Usage:
   node-red-admin <command> [args] [--help] [--userDir DIR] [--json]

Description:
   Node-RED command-line client

Commands:
   target  - Set or view the target URL and port like http://localhost:1880
   login   - Log user in to the target of the Node-RED admin API
   list    - List all of the installed nodes
   info    - Display more information about the module or node
   enable  - Enable the specified module or node set
   disable - Disable the specified module or node set
   search  - Search for Node-RED modules to install
   install - Install the module from NPM to Node-RED
   remove  - Remove the NPM module from Node-RED
   hash-pw - Creates a hash to use for Node-RED settings like "adminAuth"

By default, the tool stores its configuration in ~/.node-red/.cli-config.json. You can specify a different directory for the config file using the --userDir argument.

The --json option causes the tool to format its output as JSON making it suitable for scripting.

更新日志

4.1.0

  • Add telemetry consent to init command @knolleary

4.0.2

  • Update dependencies @knolleary

4.0.1

  • Updated axios and mocha dependencies @knolleary

4.0.0

  • Update template settings for 4.0
  • Update dependencies
  • Replace bcrypt with @node-rs/bcrypt
  • Set minimum node.js version to 18

3.1.3

  • Bump axios to 1.6.8 @knolleary

3.1.2

  • Bump axios to 1.6.7 @knolleary

3.1.1

  • Bump axios to 1.6.1 (#31) @hardillb

3.1.0

  • Remove temporary dev comments (#22) @bonanitech
  • Leave Monaco theme commented out by default (#23) @bonanitech
  • Add new themes introduced in @node-red-contrib-themes/theme-collection v3.0 (#24) @bonanitech
  • Update dependencies (#27) @knolleary
  • Update template settings for 3.1 (#26) @knolleary
  • Update monaco link (#25) @knolleary

3.0.0

  • Update httpStatic and add httpStaticRoot for changes in Node-RED V3 (#20) @Steve-Mcl
  • Update dependencies
  • Drop node 12 support

2.2.4

  • Add Dracula theme (#17) @bonanitech
  • Default to monaco editor for V3 (#19) @Steve-Mcl
  • Update dependencies

2.2.3

  • Update dependencies

2.2.2

  • Update dependencies

2.2.1

  • Update dependencies

2.2.0

  • Default admin init to enable functionExternalModules

2.1.0

  • Add node-red-admin init command to help create settings file

2.0.0

  • Drop support for old Node versions. Now requires at least Node 12.
  • Update dependencies to latest