@bretwardjames/ghp-cli 0.1.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.
Files changed (94) hide show
  1. package/README.md +176 -0
  2. package/dist/branch-linker.d.ts +15 -0
  3. package/dist/branch-linker.d.ts.map +1 -0
  4. package/dist/branch-linker.js +60 -0
  5. package/dist/branch-linker.js.map +1 -0
  6. package/dist/commands/add-issue.d.ts +11 -0
  7. package/dist/commands/add-issue.d.ts.map +1 -0
  8. package/dist/commands/add-issue.js +228 -0
  9. package/dist/commands/add-issue.js.map +1 -0
  10. package/dist/commands/assign.d.ts +6 -0
  11. package/dist/commands/assign.d.ts.map +1 -0
  12. package/dist/commands/assign.js +44 -0
  13. package/dist/commands/assign.js.map +1 -0
  14. package/dist/commands/auth.d.ts +6 -0
  15. package/dist/commands/auth.d.ts.map +1 -0
  16. package/dist/commands/auth.js +31 -0
  17. package/dist/commands/auth.js.map +1 -0
  18. package/dist/commands/comment.d.ts +6 -0
  19. package/dist/commands/comment.d.ts.map +1 -0
  20. package/dist/commands/comment.js +83 -0
  21. package/dist/commands/comment.js.map +1 -0
  22. package/dist/commands/config.d.ts +5 -0
  23. package/dist/commands/config.d.ts.map +1 -0
  24. package/dist/commands/config.js +94 -0
  25. package/dist/commands/config.js.map +1 -0
  26. package/dist/commands/done.d.ts +2 -0
  27. package/dist/commands/done.d.ts.map +1 -0
  28. package/dist/commands/done.js +54 -0
  29. package/dist/commands/done.js.map +1 -0
  30. package/dist/commands/link-branch.d.ts +2 -0
  31. package/dist/commands/link-branch.d.ts.map +1 -0
  32. package/dist/commands/link-branch.js +44 -0
  33. package/dist/commands/link-branch.js.map +1 -0
  34. package/dist/commands/move.d.ts +2 -0
  35. package/dist/commands/move.d.ts.map +1 -0
  36. package/dist/commands/move.js +53 -0
  37. package/dist/commands/move.js.map +1 -0
  38. package/dist/commands/open.d.ts +6 -0
  39. package/dist/commands/open.d.ts.map +1 -0
  40. package/dist/commands/open.js +189 -0
  41. package/dist/commands/open.js.map +1 -0
  42. package/dist/commands/plan.d.ts +2 -0
  43. package/dist/commands/plan.d.ts.map +1 -0
  44. package/dist/commands/plan.js +403 -0
  45. package/dist/commands/plan.js.map +1 -0
  46. package/dist/commands/pr.d.ts +7 -0
  47. package/dist/commands/pr.d.ts.map +1 -0
  48. package/dist/commands/pr.js +102 -0
  49. package/dist/commands/pr.js.map +1 -0
  50. package/dist/commands/set-field.d.ts +2 -0
  51. package/dist/commands/set-field.d.ts.map +1 -0
  52. package/dist/commands/set-field.js +69 -0
  53. package/dist/commands/set-field.js.map +1 -0
  54. package/dist/commands/slice.d.ts +8 -0
  55. package/dist/commands/slice.d.ts.map +1 -0
  56. package/dist/commands/slice.js +85 -0
  57. package/dist/commands/slice.js.map +1 -0
  58. package/dist/commands/start.d.ts +7 -0
  59. package/dist/commands/start.d.ts.map +1 -0
  60. package/dist/commands/start.js +153 -0
  61. package/dist/commands/start.js.map +1 -0
  62. package/dist/commands/switch.d.ts +2 -0
  63. package/dist/commands/switch.d.ts.map +1 -0
  64. package/dist/commands/switch.js +44 -0
  65. package/dist/commands/switch.js.map +1 -0
  66. package/dist/commands/unlink-branch.d.ts +2 -0
  67. package/dist/commands/unlink-branch.d.ts.map +1 -0
  68. package/dist/commands/unlink-branch.js +28 -0
  69. package/dist/commands/unlink-branch.js.map +1 -0
  70. package/dist/commands/work.d.ts +9 -0
  71. package/dist/commands/work.d.ts.map +1 -0
  72. package/dist/commands/work.js +118 -0
  73. package/dist/commands/work.js.map +1 -0
  74. package/dist/config.d.ts +44 -0
  75. package/dist/config.d.ts.map +1 -0
  76. package/dist/config.js +88 -0
  77. package/dist/config.js.map +1 -0
  78. package/dist/git-utils.d.ts +55 -0
  79. package/dist/git-utils.d.ts.map +1 -0
  80. package/dist/git-utils.js +140 -0
  81. package/dist/git-utils.js.map +1 -0
  82. package/dist/github-api.d.ts +110 -0
  83. package/dist/github-api.d.ts.map +1 -0
  84. package/dist/github-api.js +579 -0
  85. package/dist/github-api.js.map +1 -0
  86. package/dist/index.d.ts +3 -0
  87. package/dist/index.d.ts.map +1 -0
  88. package/dist/index.js +149 -0
  89. package/dist/index.js.map +1 -0
  90. package/dist/types.d.ts +37 -0
  91. package/dist/types.d.ts.map +1 -0
  92. package/dist/types.js +2 -0
  93. package/dist/types.js.map +1 -0
  94. package/package.json +48 -0
package/dist/index.js ADDED
@@ -0,0 +1,149 @@
1
+ #!/usr/bin/env node
2
+ import { Command } from 'commander';
3
+ import { workCommand } from './commands/work.js';
4
+ import { planCommand } from './commands/plan.js';
5
+ import { startCommand } from './commands/start.js';
6
+ import { doneCommand } from './commands/done.js';
7
+ import { moveCommand } from './commands/move.js';
8
+ import { switchCommand } from './commands/switch.js';
9
+ import { linkBranchCommand } from './commands/link-branch.js';
10
+ import { unlinkBranchCommand } from './commands/unlink-branch.js';
11
+ import { prCommand } from './commands/pr.js';
12
+ import { assignCommand } from './commands/assign.js';
13
+ import { authCommand } from './commands/auth.js';
14
+ import { configCommand } from './commands/config.js';
15
+ import { addIssueCommand } from './commands/add-issue.js';
16
+ import { setFieldCommand } from './commands/set-field.js';
17
+ import { sliceCommand } from './commands/slice.js';
18
+ import { openCommand } from './commands/open.js';
19
+ import { commentCommand } from './commands/comment.js';
20
+ const program = new Command();
21
+ program
22
+ .name('ghp')
23
+ .description('GitHub Projects CLI - manage project boards from your terminal')
24
+ .version('0.1.0');
25
+ // Authentication
26
+ program
27
+ .command('auth')
28
+ .description('Authenticate with GitHub')
29
+ .option('--status', 'Check authentication status')
30
+ .action(authCommand);
31
+ // Configuration
32
+ program
33
+ .command('config')
34
+ .description('View or set configuration')
35
+ .argument('[key]', 'Config key to get/set')
36
+ .argument('[value]', 'Value to set')
37
+ .option('-l, --list', 'List all config values')
38
+ .option('-e, --edit', 'Open config file in editor (creates template if missing)')
39
+ .action(configCommand);
40
+ // Main views
41
+ program
42
+ .command('work')
43
+ .alias('w')
44
+ .description('Show items assigned to you (sidebar view)')
45
+ .option('-a, --all', 'Show all items, not just assigned to me')
46
+ .option('-s, --status <status>', 'Filter by status')
47
+ .option('--hide-done', 'Hide completed items')
48
+ .option('-l, --list', 'Output as simple list (one item per line, for pickers)')
49
+ .action(workCommand);
50
+ program
51
+ .command('plan [shortcut]')
52
+ .alias('p')
53
+ .description('Show project board or filtered list view (use shortcut name from config)')
54
+ .option('-p, --project <project>', 'Filter by project name')
55
+ .option('-s, --status <status>', 'Show only items in this status (list view)')
56
+ .option('-m, --mine', 'Show only items assigned to me')
57
+ .option('-u, --unassigned', 'Show only unassigned items')
58
+ .option('-l, --list', 'Output as simple list (one item per line, for pickers)')
59
+ .option('--sort <fields>', 'Sort by fields (comma-separated, prefix with - for ascending, e.g., "status,-title")')
60
+ .option('--slice <field=value>', 'Filter by field (repeatable: --slice label=bug --slice Priority=High)', (val, acc) => { acc.push(val); return acc; }, [])
61
+ .action(planCommand);
62
+ // Workflow commands
63
+ program
64
+ .command('start <issue>')
65
+ .alias('s')
66
+ .description('Start working on an issue - creates branch and updates status')
67
+ .option('--no-branch', 'Skip branch creation')
68
+ .option('--no-status', 'Skip status update')
69
+ .action(startCommand);
70
+ program
71
+ .command('done <issue>')
72
+ .alias('d')
73
+ .description('Mark an issue as done')
74
+ .action(doneCommand);
75
+ program
76
+ .command('move <issue> <status>')
77
+ .alias('m')
78
+ .description('Move an issue to a different status')
79
+ .action(moveCommand);
80
+ // Branch commands
81
+ program
82
+ .command('switch <issue>')
83
+ .alias('sw')
84
+ .description('Switch to the branch linked to an issue')
85
+ .action(switchCommand);
86
+ program
87
+ .command('link-branch <issue> [branch]')
88
+ .alias('lb')
89
+ .description('Link a branch to an issue (defaults to current branch)')
90
+ .action(linkBranchCommand);
91
+ program
92
+ .command('unlink-branch <issue>')
93
+ .alias('ub')
94
+ .description('Unlink the branch from an issue')
95
+ .action(unlinkBranchCommand);
96
+ // PR workflow
97
+ program
98
+ .command('pr [issue]')
99
+ .description('Create or view PR for an issue')
100
+ .option('--create', 'Create a new PR')
101
+ .option('--open', 'Open PR in browser')
102
+ .action(prCommand);
103
+ // Assignment
104
+ program
105
+ .command('assign <issue> [users...]')
106
+ .description('Assign users to an issue (empty to assign self)')
107
+ .option('--remove', 'Remove assignment instead of adding')
108
+ .action(assignCommand);
109
+ // Issue creation
110
+ program
111
+ .command('add-issue [title]')
112
+ .alias('add')
113
+ .description('Create a new issue and add to project')
114
+ .option('-b, --body <body>', 'Issue body/description')
115
+ .option('-p, --project <project>', 'Project to add to (defaults to first)')
116
+ .option('-s, --status <status>', 'Initial status')
117
+ .option('-e, --edit', 'Open $EDITOR to write issue body')
118
+ .option('-t, --template <name>', 'Use an issue template from .github/ISSUE_TEMPLATE/')
119
+ .option('--list-templates', 'List available issue templates')
120
+ .action(addIssueCommand);
121
+ // Field management
122
+ program
123
+ .command('set-field <issue> <field> <value>')
124
+ .alias('sf')
125
+ .description('Set a field value on an issue')
126
+ .action(setFieldCommand);
127
+ // Filtering/slicing
128
+ program
129
+ .command('slice')
130
+ .description('Filter items by field values (interactive)')
131
+ .option('-f, --field <field>', 'Field to filter by')
132
+ .option('-v, --value <value>', 'Value to filter for')
133
+ .option('--list-fields', 'List available fields')
134
+ .action(sliceCommand);
135
+ // Quick access
136
+ program
137
+ .command('open <issue>')
138
+ .alias('o')
139
+ .description('View issue details')
140
+ .option('-b, --browser', 'Open in browser instead of terminal')
141
+ .action(openCommand);
142
+ program
143
+ .command('comment <issue>')
144
+ .alias('c')
145
+ .description('Add a comment to an issue')
146
+ .option('-m, --message <text>', 'Comment text (opens editor if not provided)')
147
+ .action(commentCommand);
148
+ program.parse();
149
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,oB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KAC7E,MAAM,CAAC,cAAc,CAAC,CAAC;AAE5B,OAAO,CAAC,KAAK,EAAE,CAAC"}
@@ -0,0 +1,37 @@
1
+ export interface RepoInfo {
2
+ owner: string;
3
+ name: string;
4
+ fullName: string;
5
+ }
6
+ export interface ProjectItem {
7
+ id: string;
8
+ title: string;
9
+ number: number | null;
10
+ type: 'issue' | 'pull_request' | 'draft';
11
+ issueType: string | null;
12
+ status: string | null;
13
+ assignees: string[];
14
+ labels: Array<{
15
+ name: string;
16
+ color: string;
17
+ }>;
18
+ repository: string | null;
19
+ url: string | null;
20
+ projectId: string;
21
+ projectTitle: string;
22
+ fields: Record<string, string>;
23
+ }
24
+ export interface Project {
25
+ id: string;
26
+ title: string;
27
+ number: number;
28
+ url: string;
29
+ }
30
+ export interface StatusField {
31
+ fieldId: string;
32
+ options: Array<{
33
+ id: string;
34
+ name: string;
35
+ }>;
36
+ }
37
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,WAAW;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,OAAO,CAAC;IACzC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC/C,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAClC;AAED,MAAM,WAAW,OAAO;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,WAAW;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,KAAK,CAAC;QACX,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;KAChB,CAAC,CAAC;CACN"}
package/dist/types.js ADDED
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
package/package.json ADDED
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "@bretwardjames/ghp-cli",
3
+ "version": "0.1.0",
4
+ "description": "GitHub Projects CLI - manage project boards from your terminal",
5
+ "main": "./dist/index.js",
6
+ "bin": {
7
+ "ghp": "./dist/index.js"
8
+ },
9
+ "type": "module",
10
+ "files": [
11
+ "dist"
12
+ ],
13
+ "scripts": {
14
+ "build": "tsc",
15
+ "dev": "tsc --watch",
16
+ "start": "node dist/index.js",
17
+ "lint": "eslint src --ext ts",
18
+ "prepare": "npm run build",
19
+ "prepublishOnly": "npm run build"
20
+ },
21
+ "keywords": [
22
+ "github",
23
+ "projects",
24
+ "cli",
25
+ "task",
26
+ "kanban",
27
+ "issue",
28
+ "project-management"
29
+ ],
30
+ "author": "bretwardjames",
31
+ "license": "MIT",
32
+ "repository": {
33
+ "type": "git",
34
+ "url": "https://github.com/bretwardjames/ghp-cli"
35
+ },
36
+ "engines": {
37
+ "node": ">=18.0.0"
38
+ },
39
+ "dependencies": {
40
+ "@octokit/graphql": "^7.0.2",
41
+ "commander": "^12.0.0",
42
+ "chalk": "^5.3.0"
43
+ },
44
+ "devDependencies": {
45
+ "@types/node": "^20.10.0",
46
+ "typescript": "^5.3.2"
47
+ }
48
+ }