rdalbuquerque / azdoext

MIT License
10 stars 0 forks source link

azdoext

A terminal UI, powered by bubbletea framework\ to help streamline the process of commiting, pushing, creating PRs and following pipelines in Azure DevOps.

Prerequisites

Get started

Install on Linux and macOS

curl -fsSL https://raw.githubusercontent.com/rdalbuquerque/azdoext/main/scripts/install.sh | sh

Install on Windows

Invoke-RestMethod "https://raw.githubusercontent.com/rdalbuquerque/azdoext/main/scripts/install.ps1" | Invoke-Expression

Keybindings

Pages and sections

The app is divided into pages and sections:

Commit, push and open a PR

When the app starts you will see two sections, commit message and the changed files, files staged will be shown in green.\ Here you can either write a commit msg and hit ctrl+s to save, stage all files and push\ You can also stage individual files by pressing ctrl+a while the file is selected.

After changes are pushed you will presented with a choice, you can either go directly to pipelines or open a PR.\ If you chose to open a PR, you will be presented with a text area where the first line is PR title and the rest is PR description.\ To save and open the PR press ctrl+s.\ With a opened PR you are taken to pipelines section. OBS: Currently, only PRs to the default branch are supported.

List pipelines and execute new runs

On pipelines page, you will see all pipelines related to you current repository and their last run status.\ When you press enter you will be presented with a choice, go to the tasks of the selected pipeline or execute a new run.\ While on the pipeline instance section you can go to logs, browse and hit / to search for a specific string.\ If the selected run is in progress, you'll see the live pipeline logs, you can hit f to toggle follow.\ If enabled, you will see the latest logs and the task list cursor will indicate the current running task.

Demo

2x speed demo:

https://github.com/user-attachments/assets/e193cca9-9f09-493d-8a0a-edf58be589b8