nitor 1.6.0 → 1.7.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/CHANGELOG.md +15 -0
- package/LICENSE +15 -0
- package/README.md +2 -2
- package/package.json +13 -4
- package/.commitlintrc.json +0 -10
- package/.editorconfig +0 -16
- package/.eslintrc.js +0 -29
- package/.gitattributes +0 -2
- package/.prettierrc +0 -5
- package/.releaserc.json +0 -34
- package/docs/AUTOCOMPLETE.md +0 -136
- package/docs/BACKUP.md +0 -343
- package/docs/BUILD.md +0 -120
- package/docs/BUILD_DEPLOY.md +0 -320
- package/docs/CLEANUP.md +0 -285
- package/docs/CREATE_BRANCH.md +0 -173
- package/docs/DEPLOY.md +0 -130
- package/docs/MERGE.md +0 -253
- package/docs/MR_STATUS.md +0 -74
- package/docs/README.md +0 -281
- package/docs/REFACTOR.md +0 -375
- package/docs/REVIEW.md +0 -185
- package/docs/TIME_ENTRY.md +0 -422
package/docs/REVIEW.md
DELETED
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
# Review Command Guide
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
The `review` command performs AI-powered code review on merge requests. It analyzes the code changes and provides intelligent feedback and suggestions.
|
|
6
|
-
|
|
7
|
-
## Usage
|
|
8
|
-
|
|
9
|
-
### Basic Syntax
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
nitor review -project <project short name> -mergeId <merge id> -repository <repository name>
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
### Short Form
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
nitor review -p <project short name> -mId <merge id> -r <repository name>
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## Options
|
|
22
|
-
|
|
23
|
-
| Option | Short | Description | Required |
|
|
24
|
-
| -------------- | ------- | ------------------ | -------- |
|
|
25
|
-
| `--project` | `-p` | Project short name | Optional |
|
|
26
|
-
| `--mergeId` | `-mId` | Merge request ID | Yes |
|
|
27
|
-
| `--repository` | `-r` | Repository name | Yes |
|
|
28
|
-
| `--help` | `-help` | Show help | - |
|
|
29
|
-
|
|
30
|
-
## Examples
|
|
31
|
-
|
|
32
|
-
### Review Portal Merge Request
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
nitor review -p portal -mId 123 -r portalClient
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
### Review Gateway Backend MR
|
|
39
|
-
|
|
40
|
-
```bash
|
|
41
|
-
nitor review -repository gatewayBackend -mergeId 456
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
### Review PHR Client Changes
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
nitor review -r phrClient -mId 789
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
## Supported Repositories
|
|
51
|
-
|
|
52
|
-
- **centralAuth** - Central authentication service
|
|
53
|
-
- **configService** - Configuration service
|
|
54
|
-
- **gatewayBackend** - Gateway backend service
|
|
55
|
-
- **gatewayClient** - Gateway client application
|
|
56
|
-
- **gatewayDeployment** - Gateway deployment configs
|
|
57
|
-
- **healthRecords** - Health records service
|
|
58
|
-
- **mpi** - Master Patient Index
|
|
59
|
-
- **phrAdminBackend** - PHR admin backend
|
|
60
|
-
- **phrAdminClient** - PHR admin client
|
|
61
|
-
- **phrBackend** - PHR backend service
|
|
62
|
-
- **phrClient** - PHR client application
|
|
63
|
-
- **phrDeployment** - PHR deployment configs
|
|
64
|
-
- **portalAutomation** - Portal automation tests
|
|
65
|
-
- **portalBackend** - Portal backend service
|
|
66
|
-
- **portalClient** - Portal client application
|
|
67
|
-
- **portalDeployment** - Portal deployment configs
|
|
68
|
-
- **terminologyService** - Terminology service
|
|
69
|
-
|
|
70
|
-
## Review Process
|
|
71
|
-
|
|
72
|
-
The AI review will:
|
|
73
|
-
|
|
74
|
-
1. Fetch the merge request details
|
|
75
|
-
2. Analyze code changes and diffs
|
|
76
|
-
3. Check for:
|
|
77
|
-
- Code quality issues
|
|
78
|
-
- Potential bugs
|
|
79
|
-
- Security vulnerabilities
|
|
80
|
-
- Best practice violations
|
|
81
|
-
- Performance concerns
|
|
82
|
-
4. Generate detailed feedback
|
|
83
|
-
5. Provide improvement suggestions
|
|
84
|
-
|
|
85
|
-
## What Gets Reviewed
|
|
86
|
-
|
|
87
|
-
### Code Quality
|
|
88
|
-
|
|
89
|
-
- Code structure and organization
|
|
90
|
-
- Naming conventions
|
|
91
|
-
- Code duplication
|
|
92
|
-
- Complexity analysis
|
|
93
|
-
|
|
94
|
-
### Security
|
|
95
|
-
|
|
96
|
-
- Authentication/authorization issues
|
|
97
|
-
- Input validation
|
|
98
|
-
- SQL injection risks
|
|
99
|
-
- XSS vulnerabilities
|
|
100
|
-
- Sensitive data exposure
|
|
101
|
-
|
|
102
|
-
### Performance
|
|
103
|
-
|
|
104
|
-
- Inefficient algorithms
|
|
105
|
-
- Database query optimization
|
|
106
|
-
- Memory leaks
|
|
107
|
-
- Resource management
|
|
108
|
-
|
|
109
|
-
### Best Practices
|
|
110
|
-
|
|
111
|
-
- Design patterns
|
|
112
|
-
- Error handling
|
|
113
|
-
- Logging practices
|
|
114
|
-
- Documentation
|
|
115
|
-
|
|
116
|
-
## Understanding Review Output
|
|
117
|
-
|
|
118
|
-
The review will provide:
|
|
119
|
-
|
|
120
|
-
- **Issues Found** - List of problems detected
|
|
121
|
-
- **Severity Levels** - Critical, High, Medium, Low
|
|
122
|
-
- **Suggestions** - Recommended fixes and improvements
|
|
123
|
-
- **Code Examples** - Better alternatives when applicable
|
|
124
|
-
|
|
125
|
-
## Prerequisites
|
|
126
|
-
|
|
127
|
-
Before running a review:
|
|
128
|
-
|
|
129
|
-
- Merge request must exist
|
|
130
|
-
- You need access to the repository
|
|
131
|
-
- AI service must be configured
|
|
132
|
-
|
|
133
|
-
## Troubleshooting
|
|
134
|
-
|
|
135
|
-
### Review Fails to Start
|
|
136
|
-
|
|
137
|
-
1. **Check merge request ID:**
|
|
138
|
-
|
|
139
|
-
```bash
|
|
140
|
-
# Verify the MR ID is correct
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
2. **Verify repository name:**
|
|
144
|
-
Ensure the repository name matches exactly from the supported list
|
|
145
|
-
|
|
146
|
-
3. **Check permissions:**
|
|
147
|
-
Confirm you have access to the repository
|
|
148
|
-
|
|
149
|
-
### No Feedback Generated
|
|
150
|
-
|
|
151
|
-
If review completes but provides no feedback:
|
|
152
|
-
|
|
153
|
-
- The changes might be minimal
|
|
154
|
-
- Code might already follow best practices
|
|
155
|
-
- Check if the MR has any code changes
|
|
156
|
-
|
|
157
|
-
### API Errors
|
|
158
|
-
|
|
159
|
-
If you encounter API errors:
|
|
160
|
-
|
|
161
|
-
- Verify your API credentials are configured
|
|
162
|
-
- Check network connectivity
|
|
163
|
-
- Ensure the AI service is available
|
|
164
|
-
|
|
165
|
-
## Configuration
|
|
166
|
-
|
|
167
|
-
The review command requires:
|
|
168
|
-
|
|
169
|
-
- GitLab/GitHub access token
|
|
170
|
-
- AI service API key (Google Generative AI)
|
|
171
|
-
- Proper repository permissions
|
|
172
|
-
|
|
173
|
-
## Getting Help
|
|
174
|
-
|
|
175
|
-
To see all available options:
|
|
176
|
-
|
|
177
|
-
```bash
|
|
178
|
-
nitor review -help
|
|
179
|
-
```
|
|
180
|
-
|
|
181
|
-
## Related Commands
|
|
182
|
-
|
|
183
|
-
- `nitor create-branch` - Create feature branches
|
|
184
|
-
- `nitor merge` - Merge branches
|
|
185
|
-
- `nitor refactor` - Refactor text/code
|
package/docs/TIME_ENTRY.md
DELETED
|
@@ -1,422 +0,0 @@
|
|
|
1
|
-
# Time Entry Commands Guide
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
The time-entry commands in Nitor help you track and manage your work hours, sync with Zoho Sprints, and integrate with GitLab activities.
|
|
6
|
-
|
|
7
|
-
## Available Commands
|
|
8
|
-
|
|
9
|
-
- `nitor time-init` - Initialize time entry configuration
|
|
10
|
-
- `nitor time-switch` - Switch between default projects
|
|
11
|
-
- `nitor time-add` - Add a new time entry
|
|
12
|
-
- `nitor time-update` - Update existing time entry
|
|
13
|
-
- `nitor time-delete` - Delete a time entry
|
|
14
|
-
- `nitor time-stats` - View daily status of time entries
|
|
15
|
-
- `nitor time-entries` - View time entries by date
|
|
16
|
-
- `nitor time-zoho` - Sync time entries to Zoho
|
|
17
|
-
- `nitor time-gitlab` - Get GitLab activities
|
|
18
|
-
- `nitor time-merge` - View merge request status for tasks
|
|
19
|
-
|
|
20
|
-
## Setup
|
|
21
|
-
|
|
22
|
-
### Initial Configuration
|
|
23
|
-
|
|
24
|
-
Before using time-entry commands, you need to initialize the configuration:
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
nitor time-init
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
This will prompt you to enter:
|
|
31
|
-
|
|
32
|
-
- Zoho Sprints credentials
|
|
33
|
-
- Default project settings
|
|
34
|
-
- GitLab integration details
|
|
35
|
-
|
|
36
|
-
### Switch Projects
|
|
37
|
-
|
|
38
|
-
To switch between configured projects:
|
|
39
|
-
|
|
40
|
-
```bash
|
|
41
|
-
nitor time-switch
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
## Usage
|
|
45
|
-
|
|
46
|
-
### Add Time Entry
|
|
47
|
-
|
|
48
|
-
Add a new time entry for your work:
|
|
49
|
-
|
|
50
|
-
```bash
|
|
51
|
-
nitor time-add
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
The command will interactively prompt you for:
|
|
55
|
-
|
|
56
|
-
- Task ID
|
|
57
|
-
- Hours worked
|
|
58
|
-
- Date
|
|
59
|
-
- Description
|
|
60
|
-
|
|
61
|
-
### Update Time Entry
|
|
62
|
-
|
|
63
|
-
Update an existing time entry:
|
|
64
|
-
|
|
65
|
-
```bash
|
|
66
|
-
nitor time-update
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
You'll be prompted to:
|
|
70
|
-
|
|
71
|
-
- Select the entry to update
|
|
72
|
-
- Modify hours, date, or description
|
|
73
|
-
|
|
74
|
-
### Delete Time Entry
|
|
75
|
-
|
|
76
|
-
Remove a time entry:
|
|
77
|
-
|
|
78
|
-
```bash
|
|
79
|
-
nitor time-delete
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
Select the entry you want to delete from the list.
|
|
83
|
-
|
|
84
|
-
### View Status
|
|
85
|
-
|
|
86
|
-
Check your daily time entry status:
|
|
87
|
-
|
|
88
|
-
```bash
|
|
89
|
-
nitor time-stats
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
This shows:
|
|
93
|
-
|
|
94
|
-
- Total hours logged today
|
|
95
|
-
- Tasks worked on
|
|
96
|
-
- Time distribution
|
|
97
|
-
|
|
98
|
-
You can also view status for a specific date:
|
|
99
|
-
|
|
100
|
-
```bash
|
|
101
|
-
nitor time-stats -date 2024-11-15
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
### View Entries
|
|
105
|
-
|
|
106
|
-
Display time entries for a specific date range:
|
|
107
|
-
|
|
108
|
-
```bash
|
|
109
|
-
nitor time-entries
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
View entries for a specific date:
|
|
113
|
-
|
|
114
|
-
```bash
|
|
115
|
-
nitor time-entries -date 2024-11-15
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
View entries for a date range:
|
|
119
|
-
|
|
120
|
-
```bash
|
|
121
|
-
nitor time-entries -from 2024-11-01 -to 2024-11-15
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
### Sync to Zoho
|
|
125
|
-
|
|
126
|
-
Sync your local time entries to Zoho Sprints:
|
|
127
|
-
|
|
128
|
-
```bash
|
|
129
|
-
nitor time-zoho
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
This will:
|
|
133
|
-
|
|
134
|
-
1. Validate all time entries
|
|
135
|
-
2. Upload to Zoho Sprints
|
|
136
|
-
3. Report sync status
|
|
137
|
-
|
|
138
|
-
### GitLab Activities
|
|
139
|
-
|
|
140
|
-
Fetch your GitLab activities:
|
|
141
|
-
|
|
142
|
-
```bash
|
|
143
|
-
nitor time-gitlab
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
This retrieves:
|
|
147
|
-
|
|
148
|
-
- Commits
|
|
149
|
-
- Merge requests
|
|
150
|
-
- Comments
|
|
151
|
-
- Code reviews
|
|
152
|
-
|
|
153
|
-
You can filter by date:
|
|
154
|
-
|
|
155
|
-
```bash
|
|
156
|
-
nitor time-gitlab -date 2024-11-15
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
### Merge Request Status
|
|
160
|
-
|
|
161
|
-
View merge request status for your tasks:
|
|
162
|
-
|
|
163
|
-
```bash
|
|
164
|
-
nitor time-merge
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
This displays:
|
|
168
|
-
|
|
169
|
-
- Task ID
|
|
170
|
-
- MR IID (Internal ID)
|
|
171
|
-
- Status (open, merged, closed)
|
|
172
|
-
- Assignee
|
|
173
|
-
- Title
|
|
174
|
-
- URL
|
|
175
|
-
|
|
176
|
-
## Configuration
|
|
177
|
-
|
|
178
|
-
Time entry commands require environment variables in your `.env` file:
|
|
179
|
-
|
|
180
|
-
### Zoho Configuration
|
|
181
|
-
|
|
182
|
-
```bash
|
|
183
|
-
ZOHO_URI=your_zoho_url
|
|
184
|
-
ZOHO_USERID=your_user_id
|
|
185
|
-
ZOHO_COOKIE="your_cookie"
|
|
186
|
-
ZOHO_TOKEN="your_token"
|
|
187
|
-
ZOHO_SESSION_ID=your_session_id
|
|
188
|
-
ZOHO_PORTAL_ID=your_portal_id
|
|
189
|
-
ZOHO_SOURCE="your_source"
|
|
190
|
-
ZOHO_CUSTOMVIEW_ID=your_customview_id
|
|
191
|
-
ZOHO_PROJECTS='{"project1":{"value":"id","label":"Name"}}'
|
|
192
|
-
ZOHO_TEAM=your_team_id
|
|
193
|
-
ZOHO_DEFAULT_PROJECT_ID=default_project_id
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
### GitLab Configuration
|
|
197
|
-
|
|
198
|
-
```bash
|
|
199
|
-
GITLAB_API_URL=https://gitlab.com/api/v4
|
|
200
|
-
GITLAB_PROJECT_ID=your_project_id
|
|
201
|
-
GITLAB_TOKEN=your_gitlab_token
|
|
202
|
-
```
|
|
203
|
-
|
|
204
|
-
## Workflow Examples
|
|
205
|
-
|
|
206
|
-
### Daily Time Tracking
|
|
207
|
-
|
|
208
|
-
```bash
|
|
209
|
-
# Start your day
|
|
210
|
-
nitor time-stats
|
|
211
|
-
|
|
212
|
-
# Add time entries as you work
|
|
213
|
-
nitor time-add
|
|
214
|
-
|
|
215
|
-
# Check status throughout the day
|
|
216
|
-
nitor time-stats
|
|
217
|
-
|
|
218
|
-
# End of day - sync to Zoho
|
|
219
|
-
nitor time-zoho
|
|
220
|
-
```
|
|
221
|
-
|
|
222
|
-
### Weekly Review
|
|
223
|
-
|
|
224
|
-
```bash
|
|
225
|
-
# View all entries for the week
|
|
226
|
-
nitor time-entries -from 2024-11-11 -to 2024-11-15
|
|
227
|
-
|
|
228
|
-
# Check merge request status
|
|
229
|
-
nitor time-merge
|
|
230
|
-
|
|
231
|
-
# Review GitLab activities
|
|
232
|
-
nitor time-gitlab
|
|
233
|
-
```
|
|
234
|
-
|
|
235
|
-
### Project Switch
|
|
236
|
-
|
|
237
|
-
```bash
|
|
238
|
-
# Switch to different project
|
|
239
|
-
nitor time-switch
|
|
240
|
-
|
|
241
|
-
# Add time for new project
|
|
242
|
-
nitor time-add
|
|
243
|
-
```
|
|
244
|
-
|
|
245
|
-
## Best Practices
|
|
246
|
-
|
|
247
|
-
### Regular Tracking
|
|
248
|
-
|
|
249
|
-
- Add time entries throughout the day
|
|
250
|
-
- Don't wait until end of day
|
|
251
|
-
- Be specific in descriptions
|
|
252
|
-
|
|
253
|
-
### Accurate Hours
|
|
254
|
-
|
|
255
|
-
- Round to nearest 0.25 hours
|
|
256
|
-
- Include all work activities
|
|
257
|
-
- Account for meetings and reviews
|
|
258
|
-
|
|
259
|
-
### Daily Sync
|
|
260
|
-
|
|
261
|
-
- Sync to Zoho at end of each day
|
|
262
|
-
- Verify entries before syncing
|
|
263
|
-
- Check for any errors
|
|
264
|
-
|
|
265
|
-
### Task Association
|
|
266
|
-
|
|
267
|
-
- Always link time to specific tasks
|
|
268
|
-
- Use correct task IDs from Zoho
|
|
269
|
-
- Keep task descriptions clear
|
|
270
|
-
|
|
271
|
-
## Troubleshooting
|
|
272
|
-
|
|
273
|
-
### Configuration Issues
|
|
274
|
-
|
|
275
|
-
If time commands fail:
|
|
276
|
-
|
|
277
|
-
1. **Check configuration:**
|
|
278
|
-
|
|
279
|
-
```bash
|
|
280
|
-
nitor time-init
|
|
281
|
-
```
|
|
282
|
-
|
|
283
|
-
2. **Verify environment variables:**
|
|
284
|
-
- Ensure `.env` file exists
|
|
285
|
-
- Check all required variables are set
|
|
286
|
-
- Validate credentials
|
|
287
|
-
|
|
288
|
-
### Sync Failures
|
|
289
|
-
|
|
290
|
-
If Zoho sync fails:
|
|
291
|
-
|
|
292
|
-
1. **Check credentials:**
|
|
293
|
-
|
|
294
|
-
- Verify Zoho token is valid
|
|
295
|
-
- Ensure session hasn't expired
|
|
296
|
-
- Update cookie if needed
|
|
297
|
-
|
|
298
|
-
2. **Validate entries:**
|
|
299
|
-
- Check all entries have task IDs
|
|
300
|
-
- Verify hours are reasonable
|
|
301
|
-
- Ensure dates are valid
|
|
302
|
-
|
|
303
|
-
### GitLab Integration Issues
|
|
304
|
-
|
|
305
|
-
If GitLab commands fail:
|
|
306
|
-
|
|
307
|
-
1. **Verify token:**
|
|
308
|
-
|
|
309
|
-
```bash
|
|
310
|
-
echo $GITLAB_TOKEN
|
|
311
|
-
```
|
|
312
|
-
|
|
313
|
-
2. **Check API access:**
|
|
314
|
-
- Ensure token has correct permissions
|
|
315
|
-
- Verify project ID is correct
|
|
316
|
-
- Test API connectivity
|
|
317
|
-
|
|
318
|
-
### Missing Data
|
|
319
|
-
|
|
320
|
-
If entries don't appear:
|
|
321
|
-
|
|
322
|
-
1. **Check date filters:**
|
|
323
|
-
|
|
324
|
-
- Verify date format (YYYY-MM-DD)
|
|
325
|
-
- Ensure date range is correct
|
|
326
|
-
|
|
327
|
-
2. **Verify storage:**
|
|
328
|
-
- Check local data files
|
|
329
|
-
- Ensure write permissions
|
|
330
|
-
|
|
331
|
-
## Data Storage
|
|
332
|
-
|
|
333
|
-
Time entries are stored locally.
|
|
334
|
-
|
|
335
|
-
## Security
|
|
336
|
-
|
|
337
|
-
### Credentials
|
|
338
|
-
|
|
339
|
-
- Never commit `.env` file
|
|
340
|
-
- Keep tokens secure
|
|
341
|
-
- Rotate credentials regularly
|
|
342
|
-
|
|
343
|
-
### Data Privacy
|
|
344
|
-
|
|
345
|
-
- Local data is stored unencrypted
|
|
346
|
-
- Sync only over HTTPS
|
|
347
|
-
- Review permissions regularly
|
|
348
|
-
|
|
349
|
-
## Getting Help
|
|
350
|
-
|
|
351
|
-
For specific command help:
|
|
352
|
-
|
|
353
|
-
```bash
|
|
354
|
-
nitor time-add -help
|
|
355
|
-
nitor time-stats -help
|
|
356
|
-
nitor time-entries -help
|
|
357
|
-
```
|
|
358
|
-
|
|
359
|
-
## Related Commands
|
|
360
|
-
|
|
361
|
-
- `nitor version` - Check Nitor version
|
|
362
|
-
- `nitor help` - View all commands
|
|
363
|
-
- `nitor completion` - Setup autocomplete
|
|
364
|
-
|
|
365
|
-
## Tips
|
|
366
|
-
|
|
367
|
-
### Keyboard Shortcuts
|
|
368
|
-
|
|
369
|
-
After setting up autocomplete:
|
|
370
|
-
|
|
371
|
-
```bash
|
|
372
|
-
nitor time-<Tab> # Shows all time commands
|
|
373
|
-
```
|
|
374
|
-
|
|
375
|
-
### Quick Status Check
|
|
376
|
-
|
|
377
|
-
Create an alias for quick status:
|
|
378
|
-
|
|
379
|
-
```bash
|
|
380
|
-
alias ts='nitor time-stats'
|
|
381
|
-
alias ta='nitor time-add'
|
|
382
|
-
alias tz='nitor time-zoho'
|
|
383
|
-
```
|
|
384
|
-
|
|
385
|
-
### Daily Reminder
|
|
386
|
-
|
|
387
|
-
Set up a cron job to remind you to log time:
|
|
388
|
-
|
|
389
|
-
```bash
|
|
390
|
-
# Remind at 5 PM to log time
|
|
391
|
-
0 17 * * * notify-send "Time Entry" "Don't forget to log your time!"
|
|
392
|
-
```
|
|
393
|
-
|
|
394
|
-
## Migration from timectl
|
|
395
|
-
|
|
396
|
-
If you were using the standalone `timectl` command:
|
|
397
|
-
|
|
398
|
-
### Command Mapping
|
|
399
|
-
|
|
400
|
-
| Old Command | New Command |
|
|
401
|
-
| ----------------- | -------------------- |
|
|
402
|
-
| `timectl init` | `nitor time-init` |
|
|
403
|
-
| `timectl switch` | `nitor time-switch` |
|
|
404
|
-
| `timectl add` | `nitor time-add` |
|
|
405
|
-
| `timectl update` | `nitor time-update` |
|
|
406
|
-
| `timectl delete` | `nitor time-delete` |
|
|
407
|
-
| `timectl status` | `nitor time-stats` |
|
|
408
|
-
| `timectl entries` | `nitor time-entries` |
|
|
409
|
-
| `timectl zoho` | `nitor time-zoho` |
|
|
410
|
-
| `timectl gitlab` | `nitor time-gitlab` |
|
|
411
|
-
| `timectl merge` | `nitor time-merge` |
|
|
412
|
-
|
|
413
|
-
### Configuration
|
|
414
|
-
|
|
415
|
-
Your existing time-entry configuration and data will work with Nitor. No migration needed!
|
|
416
|
-
|
|
417
|
-
## Support
|
|
418
|
-
|
|
419
|
-
For issues or questions:
|
|
420
|
-
|
|
421
|
-
- GitHub: https://github.com/codebynithin/nitor
|
|
422
|
-
- Email: mails2nithin@gmail.com
|