GitHub is expanding the functionality of its CLI (Command-Line Interface) tool to bring Actions to your terminal.
The first stable version of GitHub CLI launched in September last year with the aim of enabling developers to keep their repo workflows in their terminal.
“Developers spend a lot of time in their terminals, and our CLI helps to mitigate the frequent context switching between your terminal and GitHub.com,” Amanda Pinsker, Product Designer at GitHub, said last year.
GitHub Actions aim to make it easy to automate your software workflows either through building custom actions or using those created by the huge community.
The updates announced this week brings the power of Actions to CLI:
gh run view can be used to drill down into detail of individual steps of a job.
gh run view –log will enable searching across a run’s entire log output, but that can be rather overwhelming. To help narrow it down, gh run –log-failed will output only the log lines for individual steps that failed.
You can find GitHub’s full blog post with examples of CLI’s new abilities here.
(Image Credit: GitHub)
Interested in hearing industry leaders discuss subjects like this? Attend the co-located 5G Expo, IoT Tech Expo, Blockchain Expo, AI & Big Data Expo, and Cyber Security & Cloud Expo World Series with upcoming events in Silicon Valley, London, and Amsterdam.