Microsoft's GitHub: CLI 1.0 Is Out, So You Can Now Do GitHub Tasks From The Terminal
GitHub has released GitHub CLI 1.0, a command-line tool that lets developers create and check on pull requests and issues from the terminal.
GitHub released CLI in beta this February for GitHub Team and Enterprise Cloud customers, but back then not for its self-hosted product for private repositories, GitHub Enterprise Server.
Now that GitHub CLI has exited beta, it is available to use on repositories hosted on GitHub Enterprise Server 2.2 and above. Apparently, it was the most-requested feature during the beta phase.
SEE: 10 ways to prevent developer burnout (free PDF) (TechRepublic)
The Microsoft-owned code-hosting site says users can run their GitHub workflow from the terminal, from issues through to releases.
Users can also call the GitHub API to script many actions, set a custom alias for any command, and connect to GitHub Enterprise Server and GitHub.com.
GitHub notes on its page for GitHub CLI that many of its users are keen on the open-source 'hub' project. Hub is a command-line extension or 'wrapper' for Git that makes it easier to work with GitHub. Git is the version-control system created by Linux kernel creator Linus Torvalds.
Hub is maintained by a GitHub employee and is very similar to GitHub CLI but, according to the GitHub CLI team, hub is weighed down by a decade of design decisions that aren't necessarily focused on GitHub workflows.
"The GitHub CLI team is focused solely on building out the new tool, gh [GitHub CLI]. We aren't shutting down hub or doing anything to change it. It's an open-source project and will continue to exist as long as it's maintained and keeps receiving contributions," the team explained.
"GitHub CLI is built and maintained by a team of people who work on the tool on behalf of GitHub. When there's something wrong with it, people can reach out to GitHub support or create an issue in the issue tracker, where an employee at GitHub will respond."
SEE: GitHub: Our upgrade to programming language Ruby 2.7 fixes over 11,000 issues
GitHub CLI is available for Windows, macOS and Linux.
Developers can use GitHub CLI commands to clone repositories, find the status of bugs that need fixing, and create a pull request on GitHub, while colleagues can use it to check a peer's pull request before it is finally merged to the main branch.
The GitHub CLI team are planning for future versions of the tool to include support for editing issues and pull requests, as well as adding comments.
Reassessing AI Investments: What The Correction In US Megacap Tech Stocks Signals
The recent correction in US megacap tech stocks, including giants like Nvidia, Tesla, Meta, and Alphabet, has sent rippl... Read more
AI Hype Meets Reality: Assessing The Impact Of Stock Declines On Future Tech Investments
Recent declines in the stock prices of major tech companies such as Nvidia, Tesla, Meta, and Alphabet have highlighted a... Read more
Technology Sector Fuels U.S. Economic Growth In Q2
The technology sector played a pivotal role in accelerating America's economic growth in the second quarter of 2024.The ... Read more
Tech Start-Ups Advised To Guard Against Foreign Investment Risks
The US National Counterintelligence and Security Center (NCSC) has advised American tech start-ups to be wary of foreign... Read more
Global IT Outage Threatens To Cost Insurers Billions
Largest disruption since 2017’s NotPetya malware attack highlights vulnerabilities.A recent global IT outage has cause... Read more
Global IT Outage Disrupts Airlines, Financial Services, And Media Groups
On Friday morning, a major IT outage caused widespread disruption across various sectors, including airlines, financial ... Read more