Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ai-code-backends.el
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ When called from Lisp code, sends CMD directly without prompting."
:upgrade "npm install -g @google/gemini-cli"
:cli "gemini")
(github-copilot-cli
:label "Github Copilot CLI"
:label "GitHub Copilot CLI"
:require ai-code-github-copilot-cli
:start github-copilot-cli
:switch github-copilot-cli-switch-to-buffer
Expand Down
12 changes: 6 additions & 6 deletions ai-code-github-copilot-cli.el
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
;;; ai-code-github-copilot-cli.el --- Thin wrapper for Github Copilot CLI -*- lexical-binding: t; -*-
;;; ai-code-github-copilot-cli.el --- Thin wrapper for GitHub Copilot CLI -*- lexical-binding: t; -*-

;;; Commentary:
;;
;; Thin wrapper that reuses `claude-code' to run Github Copilot CLI.
;; Thin wrapper that reuses `claude-code' to run GitHub Copilot CLI.
;; Provides interactive commands and aliases for the AI Code suite.
;;
;;; Code:
Expand All @@ -22,12 +22,12 @@


(defgroup ai-code-github-copilot-cli nil
"Github Copilot CLI integration via `claude-code'."
"GitHub Copilot CLI integration via `claude-code'."
:group 'tools
:prefix "github-copilot-cli-")

(defcustom github-copilot-cli-program "copilot"
"Path to the Github Copilot CLI executable."
"Path to the GitHub Copilot CLI executable."
:type 'string
:group 'ai-code-github-copilot-cli)

Expand All @@ -38,7 +38,7 @@

;;;###autoload
(defun github-copilot-cli (&optional arg)
"Start Github Copilot CLI (reuses `claude-code' startup logic)."
"Start GitHub Copilot CLI (reuses `claude-code' startup logic)."
(interactive "P")
(let ((claude-code-program github-copilot-cli-program) ; override dynamically
(claude-code-program-switches github-copilot-cli-program-switches))
Expand All @@ -51,7 +51,7 @@

;;;###autoload
(defun github-copilot-cli-send-command (line)
"Send LINE to Github Copilot CLI programmatically or interactively.
"Send LINE to GitHub Copilot CLI programmatically or interactively.
When called interactively, prompts for the command.
When called from Lisp code, sends LINE directly without prompting."
(interactive "sCopilot> ")
Expand Down