GitHub CLI 2.0 introduces extensions
GitHub has launched GitHub CLI 2.0, a new version of its command line tool that allows developers to create extensions, or custom commands that build on CLI functionality.The open source tool, which brings GitHub to a terminal, can be installed from cli.github.com. [ Also on InfoWorld: GitHub Copilot is ‘unacceptable and unjust,’ says Free Software Foundation ] With GitHub CLI 2.0, unveiled August 24, extensions are just repositories prefixed with gh- that contain an executable file such as a Bash script. GitHub has built tools into GitHub CLI such as gh extension create, which provides a scaffolded repository with pre-written Bash.To read this article in full, please click here
GitHub has launched GitHub CLI 2.0, a new version of its command line tool that allows developers to create extensions, or custom commands that build on CLI functionality.
The open source tool, which brings GitHub to a terminal, can be installed from cli.github.com.
With GitHub CLI 2.0, unveiled August 24, extensions are just repositories prefixed with gh-
that contain an executable file such as a Bash script. GitHub has built tools into GitHub CLI such as gh extension create
, which provides a scaffolded repository with pre-written Bash.