DopplerHQ / cli

The official CLI for interacting with your Doppler secrets and configuration.
https://docs.doppler.com
Apache License 2.0
214 stars 43 forks source link

TUI Beta #413

Closed apazzolini closed 12 months ago

apazzolini commented 1 year ago

This PR implements a textual user interface for Doppler. It took heavy inspiration (both visually and in code) from lazygit and is launched via doppler tui.

It currently supports switching between projects and configs and allows you to filter for, view, edit, add, delete, and copy secrets. For now, the keybindings and colors are hardcoded, but we could add the ability for users to customize these in later versions. Pressing ? will show a popup describing the available actions.

I've been using this for the last few months without issue, but this should be considered an alpha implementation until it's been used a bit more widely.

image image

apazzolini commented 12 months ago

All feedback is addressed, re-requesting reviews for final approval. @Piccirello will defer to you for timing re:merging.

apazzolini commented 12 months ago

@Piccirello re-requesting one more time; had to rebase and resolve some Semgrep conflicts. I also went ahead and added arrow key bindings for navigating around the secret view.

apazzolini commented 12 months ago

Updates look good! Can you rename all commits with chore: that you don't want to appear in the changelog?

Done

Piccirello commented 12 months ago

You'll probably want to prepend chore: to every commit other than "Add Doppler TUI" since they'll get added to the changelog. And maybe reword that to "Add tui command for editing secrets" or something like that.

apazzolini commented 12 months ago

You'll probably want to prepend chore: to every commit other than "Add Doppler TUI" since they'll get added to the changelog. And maybe reword that to "Add tui command for editing secrets" or something like that.

Done