Git your coat – you’ve pulled: Standalone command-line interface for GitHub hits beta

Limited functionality and cloud only, but improvements are on the way

A beta of GitHub’s command-line interface for managing issues and pull requests is available to download for macOS, Windows and Linux.

Git, the source code repository system invented by Linus Torvalds, is already a command-line tool, but GitHub’s CLI will provide, according to today’s blurb, “an easier and more seamless way to work with GitHub from the command line”.

After installing the tool and authorising to a GitHub account via the browser, you can use gh issue to create, list or view issues in the current repository, and gh pr to create, checkout, list and view pull requests, which are requests from other developers to add their code to the repository.

What about the existing GitHub tool called hub, which wraps and extends git with additional GitHub features? “Hub is still around, but we wanted to try building a new CLI from scratch that wasn’t a pass-through for git,” CEO Nat Friedman said on Twitter. The new CLI is a standalone tool.

Friedman added that the new tool does not yet work on GitHub Enterprise, the on-premises version, but that this is “coming later this year”. Hub, on the other hand, does work with GitHub Enterprise.

Authorizing the GitHub CLI

Authorizing the GitHub CLI

When asked about support for creating and managing repositories, GitHub developer Billy Griffin, who worked on the new CLI, said: “We’re working on it very soon!”

GitHub also has a REST API enabling programmatic control, but the new tool will be easier for scripting.

The code for GitHub CLI is itself on GitHub where numerous issues have already been raised, suggesting high interest in the tool even if it is not yet complete. The project is written in Go, an open-source language originally created by Google. ®

Harnessing the value of data

Articles You May Like

First rule of Ransomware Club is do not pay the ransom, but it looks like Carlson Wagonlit Travel didn’t get the memo
Can You Actually Hire Computer Hackers Online?
An irritating itch down the back of your neck? Searing midsummer heat? Of course, it can only be SysAdmin Day
Face masks hamper the spread of coronavirus. Know what else they hamper? Facial-recognition systems (except China’s)
Intel, boffins invent an AI Clippy for code: Hi, I see you’re writing another lock-free bloom filter. Can I help?

Leave a Reply

Your email address will not be published. Required fields are marked *