MCPcopy Create free account
hub / github.com/catppuccin/cli

github.com/catppuccin/cli @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
109 symbols 283 edges 26 files ⚖ MIT 36 documented · 33% updated 2y ago★ 88

Browse by type

Functions 84 Types & classes 25
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Logo Catppuccin CLI

<a href="https://github.com/catppuccin/cli/stargazers"><img src="https://img.shields.io/github/stars/catppuccin/cli?colorA=363a4f&colorB=b7bdf8&style=for-the-badge"></a>
<a href="https://github.com/catppuccin/cli/issues"><img src="https://img.shields.io/github/issues/catppuccin/cli?colorA=363a4f&colorB=f5a97f&style=for-the-badge"></a>
<a href="https://github.com/catppuccin/cli/contributors"><img src="https://img.shields.io/github/contributors/catppuccin/cli?colorA=363a4f&colorB=a6da95&style=for-the-badge"></a>

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.

Building

You can simply build the cli with make. This will automatically install the required dependencies and build the program. The outputed executable will be in builds/. You can also use GoReleaser to build it for all platforms.

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

  • [x] Hooks
  • [x] Install hooks
  • [x] 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

 

<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/footers/gray0_ctp_on_line.svg?sanitize=true" />







Copyright &copy; 2021-present <a href="https://github.com/catppuccin" target="_blank">Catppuccin Org</a>







<a href="https://github.com/catppuccin/catppuccin/blob/main/LICENSE"><img src="https://img.shields.io/static/v1.svg?style=for-the-badge&label=License&message=MIT&logoColor=d9e0ee&colorA=363a4f&colorB=b7bdf8"/></a>

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 62
Method 22
Struct 18
TypeAlias 7

Languages

Go100%

Modules by API surface

internal/pkg/structs/program.go13 symbols
internal/ui/progress.go12 symbols
internal/utils/utils.go11 symbols
internal/ui/spinner.go7 symbols
internal/ui/installInput.go7 symbols
internal/utils/systems.go6 symbols
internal/utils/symlinks.go6 symbols
internal/ui/repoInput.go6 symbols
internal/ui/execInput.go5 symbols
schema/schema.go4 symbols
schema/convert.go4 symbols
internal/pkg/structs/search.go3 symbols

For agents

$ claude mcp add cli \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page