Catppuccin for cli

View on GitHub

Catppuccin CLI

A work-in-progress CLI for Catppuccin themes.

It allows you to:

  • Install themes with one command
  • Uninstall themes with one command
  • Update themes with one command

Installation

  • You can download the executable for this project from the releases section. Download the release as per your OS.

Development

  • The foremost requirement to develop is to make sure that go version 1.19 is installed.
  • Development and contribution guidelines along with the future development plans have been added to the wiki.

Docker image

  • The cli also has a Docker image. To build it, run docker build --network=host -t ctp:latest ..
  • To run the built image, run the command docker run -it --rm --net=host ctp:latest help.

TODO

  • [ ] Hooks
    • [x] Install hooks
    • [ ] Uninstall hooks
  • [x] Command hooks: To execute shell scripts.
  • [x] Web hooks: To handle xdg-open, open or equivalent command on Windows.
  • [x] Rework remove function from scratch: Need to find a way to save the flavour user installs.
  • [x] Better error handling overall
  • [x] Use gofmt from now on.
  • [x] Rewrite the wiki for catppuccin/cli to make first contributions easier.
  • [x] Refactoring:
    • [x] Move cmd to internal
    • [x] Move main.go to cmd/ctp => Reason: Check #25