nitor 1.3.4 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/services/mongodb-backup.js +1 -1
- package/services/process-commands.js +2 -2
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ A CLI utility toolkit for automating and managing build, deploy, and status oper
|
|
|
48
48
|
- `RESTORE_CONFIG` - Restore configuration
|
|
49
49
|
- `ZOHO_COOKIE` - Zoho cookie for authentication
|
|
50
50
|
- `ZOHO_CUSTOMVIEW_ID` - Zoho custom view ID
|
|
51
|
-
- `
|
|
51
|
+
- `ZOHO_DEFAULT_PROJECT_ID` - Default Zoho project ID
|
|
52
52
|
- `ZOHO_PORTAL_ID` - Zoho portal ID
|
|
53
53
|
- `ZOHO_PROJECTS` - Zoho projects configuration
|
|
54
54
|
- `ZOHO_SESSION_ID` - Zoho session ID
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nitor",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "A comprehensive CLI toolkit for automating GitLab operations, AI-powered code review, build/deploy automation, MongoDB backup/restore, and developer productivity tools",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "Nithin V <mails2nithin@gmail.com>",
|
|
@@ -13,7 +13,7 @@ const colors = {
|
|
|
13
13
|
/**
|
|
14
14
|
* Execute MongoDB restore from local backup to Docker container
|
|
15
15
|
* @param {Object} config - Restore configuration
|
|
16
|
-
* @param {boolean} config.mongoInDocker - If
|
|
16
|
+
* @param {boolean} config.mongoInDocker - If true, restore to MongoDB running inside Docker container
|
|
17
17
|
* @param {string} config.containerName - Name of the Docker container (default: 'mongodb')
|
|
18
18
|
* @param {string} config.localBackupPath - Local path where backup is stored (default: '~/backups/mongo')
|
|
19
19
|
* @param {string} config.containerBackupPath - Path inside container for backup (default: '/data/backup')
|
|
@@ -196,7 +196,7 @@ Enhance the provided text for improved clarity, conciseness, and professional qu
|
|
|
196
196
|
if (value === '-help' || value === '--h') {
|
|
197
197
|
console.log(`Usage: \tnu backup [-project <project name>] [-components <component name>]
|
|
198
198
|
|
|
199
|
-
Backup
|
|
199
|
+
Backup MongoDB for specified project and components.
|
|
200
200
|
|
|
201
201
|
project list:
|
|
202
202
|
- configService
|
|
@@ -548,7 +548,7 @@ Time Entry commands:
|
|
|
548
548
|
time-update : Update existing time entry
|
|
549
549
|
time-zoho : Sync time entries to Zoho
|
|
550
550
|
|
|
551
|
-
For details of each
|
|
551
|
+
For details of each action run 'nitor <action> -help'
|
|
552
552
|
|
|
553
553
|
Example usage:\n
|
|
554
554
|
nitor build -project <project> -components <components> -instance <instance>
|