Skip to content

ginqi7/gh-emacs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gh Emacs

Overview

An Emacs Client for Gh.

Prerequisites

Dependencies

Install

  • clone the project in your own emacs configuration files directory, like:
    git clone https://github.com/emacsmirror/yaml ~/.emacs.d/yaml
    git clone https://github.com/ginqi7/gh-emacs ~/.emacs.d/lisp/gh;
        
  • add the path to ‘load-path’
    (add-to-list 'load-path "~/.emacs.d/lisp/yaml")
    (add-to-list 'load-path "~/.emacs.d/lisp/gh")
        

Configuration

(require 'gh)

Here are a few variables that can be used for configuration:

Variables

NameDocstring
gh-commandThe command path for gh.
gh-json-headersJSON headers for various commands.
gh-jq-expsJQ expressions for various commands.
gh-default-limitThe default maximum size of the list.
gh-clone-url-formatFormat string for cloning a repository from GitHub. You can choose between the SSH format (‘git@github.com:%s.git’) and the HTTPS format (‘https://github.com/%s.git’). The %s will be replaced with the repository name.
gh-debugIf logging some intermediate logs.
gh-issue-labelsVariable for issue labels.

Interactive Commands

NameDocstring
gh–repo-createCreate a repo by the ARGS.
gh-repo-listOpen the repo list.
gh-repo-viewView a Github repository by NAME.
gh-issue-viewView a Github issue by NUMBER.
gh-repo-editEdit and Update the Github repository.
gh-workflow-runRun a workflow
gh-repo-list-get-viewView a repository in the gh list.
gh-issue-list-closeClose a issue in the gh list.
gh-repo-list-cloneClone a repo in the gh list.
gh-repo-list-deleteDelete a repo in the gh list.
gh-issue-list-deleteClose a issue in the gh list.
gh-issue-list-get-viewView a issue in the gh list.
gh-workflow-list-get-tasksView tasks of a workflow in the GitHub list.
gh-repo-list-copy-urlCopy a repository URL in the gh list.
gh-issue-list-copy-urlCopy a issue URL in the gh list.
gh-repo-list-browse-urlBrowse a repository URL in the gh list.
gh-issue-list-browse-urlBrowse a issue URL in the gh list.
gh–issue-createCreate a Github issue buffer.
gh-submitSubmit
gh-issue-create-submitSubmit the create Github issue buffer.
gh-issue-listShow the Github issue list.
gh-issue-close-interactiveClose Github issue interactively.
gh-issue-my-owned-listShow the my owned Github issue list.
gh-workflow-listShow the Github workflow list.
gh-list-actionsActions in gh list.

Features

Example

Footnotes

About

An Emacs tool for operating gh.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors