ticketlens 0.1.0 → 0.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ticketlens",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Jira CLI for developers — fetch ticket context, triage your queue, and stop tab-switching. Zero dependencies, all local.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -82,6 +82,18 @@ export function parseCommand(args) {
82
82
  return { command: 'compliance', args: args.slice(1) };
83
83
  }
84
84
 
85
+ if (first === 'login') {
86
+ return { command: 'login', args: args.slice(1) };
87
+ }
88
+
89
+ if (first === 'logout') {
90
+ return { command: 'logout', args: args.slice(1) };
91
+ }
92
+
93
+ if (first === 'sync') {
94
+ return { command: 'sync', args: args.slice(1) };
95
+ }
96
+
85
97
  // Anything that looks like a ticket key or any non-flag arg → fetch
86
98
  return { command: 'fetch', args };
87
99
  }