|
1 | | -;;; ai-code-github-copilot-cli.el --- Thin wrapper for Github Copilot CLI -*- lexical-binding: t; -*- |
| 1 | +;;; ai-code-github-copilot-cli.el --- Thin wrapper for GitHub Copilot CLI -*- lexical-binding: t; -*- |
2 | 2 |
|
3 | 3 | ;;; Commentary: |
4 | 4 | ;; |
5 | | -;; Thin wrapper that reuses `claude-code' to run Github Copilot CLI. |
| 5 | +;; Thin wrapper that reuses `claude-code' to run GitHub Copilot CLI. |
6 | 6 | ;; Provides interactive commands and aliases for the AI Code suite. |
7 | 7 | ;; |
8 | 8 | ;;; Code: |
|
22 | 22 |
|
23 | 23 |
|
24 | 24 | (defgroup ai-code-github-copilot-cli nil |
25 | | - "Github Copilot CLI integration via `claude-code'." |
| 25 | + "GitHub Copilot CLI integration via `claude-code'." |
26 | 26 | :group 'tools |
27 | 27 | :prefix "github-copilot-cli-") |
28 | 28 |
|
29 | 29 | (defcustom github-copilot-cli-program "copilot" |
30 | | - "Path to the Github Copilot CLI executable." |
| 30 | + "Path to the GitHub Copilot CLI executable." |
31 | 31 | :type 'string |
32 | 32 | :group 'ai-code-github-copilot-cli) |
33 | 33 |
|
|
38 | 38 |
|
39 | 39 | ;;;###autoload |
40 | 40 | (defun github-copilot-cli (&optional arg) |
41 | | - "Start Github Copilot CLI (reuses `claude-code' startup logic)." |
| 41 | + "Start GitHub Copilot CLI (reuses `claude-code' startup logic)." |
42 | 42 | (interactive "P") |
43 | 43 | (let ((claude-code-program github-copilot-cli-program) ; override dynamically |
44 | 44 | (claude-code-program-switches github-copilot-cli-program-switches)) |
|
51 | 51 |
|
52 | 52 | ;;;###autoload |
53 | 53 | (defun github-copilot-cli-send-command (line) |
54 | | - "Send LINE to Github Copilot CLI programmatically or interactively. |
| 54 | + "Send LINE to GitHub Copilot CLI programmatically or interactively. |
55 | 55 | When called interactively, prompts for the command. |
56 | 56 | When called from Lisp code, sends LINE directly without prompting." |
57 | 57 | (interactive "sCopilot> ") |
|
0 commit comments