Logo
Explore Help
Register Sign In
Nemcio/NodeBB
1
0
Fork 0
You've already forked NodeBB
mirror of https://github.com/NodeBB/NodeBB.git synced 2026-01-30 19:30:04 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
v1.7.4
NodeBB/nodebb.bat

2 lines
43 B
Batchfile
Raw Permalink Normal View History

CLI refactor with commander (#6058) * CLI refactor with commander - Modularized the functionality - All functionality done directly from `./nodebb` now (still available from `app` for backwards compatibility) - Moved all CLI code from `./nodebb` to `src/cli` - Fixed `nodebb.bat` to work from any location, like `./nodebb`, and also hides command output - Overwrite some commander methods to add CLI color support - Added `./nodebb info` for quick info including git hash, NodeBB version, node version, and some database info - Refactored `./nodebb reset` to allow multiple resets at once - Changed `./nodebb restart` to essentially stop and start, as Windows doesn't support signals - Added `-l, --log` option which works on `./nodebb start` and `./nodebb restart` to show logging, like `./nodebb slog` - Expanded `-d, --dev` option which works on them as well, like `./nodebb dev` - Improvements to self-help. `./nodebb build -h` will output all possible targets - `./nodebb reset` explains usage better * Fix some style inconsistencies * Fix prestart being required before modules installed * Fix travis failures * Fix `help` command to output help for subcommands * Pick steps of the upgrade process to run * Fix formatting for upgrade help * Fix web installer
2017-11-23 08:55:03 -07:00
@echo off && cd %~dp0 && node ./src/cli %*
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 262ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API