Skip to main content

micoo is a command-line tool for easily accessing mise cookbooks

Project description

micoo: quick access to mise-cookbooks

CI PyPI - Version PyPI - Python Version License - MIT Latest Commit

codecov

Checked with mypy linting - Ruff GitHub Tag

Downloads Downloads/Month Downloads/Week

micoo (short for mise cookbooks) is a :zap: command-line tool that makes it easy to access mise configuration files from mise-cookbooks :books:.

Typical Usage :rocket:

# List available cookbooks
micoo list

# Create a new mise.toml with a cookbook
micoo dump python > mise.toml

Features :sparkles:

  • ๐Ÿš€ Quick access to mise-cookbooks
  • ๐Ÿ“š Easy cookbook listing and content viewing
  • ๐Ÿ’พ Simple dumping of cookbooks to mise.toml
  • ๐Ÿ”„ Repository cloning and updating
  • ๐ŸŒ Browser integration for quick repository access
  • ๐ŸŽฏ Interactive mode for cookbook selection and generation

Installation :package:

There are several ways to install micoo! :rocket: I recommend using (obviously) mise :hammer_and_wrench:. Here's how to do it:

mise install pipx:micoo

Alternatively, you can install it using uv tool install micoo :jigsaw:

uv tool install micoo

Command Reference :book:

Here is the output of the micoo --help command:

 Usage: micoo [OPTIONS] COMMAND [ARGS]...

โ•ญโ”€ Options โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ --install-completion          Install completion for the current shell.                            โ”‚
โ”‚ --show-completion             Show completion for the current shell, to copy it or customize the   โ”‚
โ”‚                               installation.                                                        โ”‚
โ”‚ --help                        Show this message and exit.                                          โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ•ญโ”€ Commands โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ update        Clone or fetch the `mise-cookbooks` repository.                                      โ”‚
โ”‚ list          List the available mise cookbooks.                                                   โ”‚
โ”‚ search        Search for a mise cookbook.                                                          โ”‚
โ”‚ dump          Dump a mise cookbook.                                                                โ”‚
โ”‚ root          Show the path to the micoo boilerplates directory.                                   โ”‚
โ”‚ log           Show the path to the micoo log file.                                                 โ”‚
โ”‚ remote        Show the URL to the remote repository.                                               โ”‚
โ”‚ version       Show the current version number of micoo.                                            โ”‚
โ”‚ info          Display information about the micoo application.                                     โ”‚
โ”‚ interactive   Start interactive mode for cookbook selection and generation.                        โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Usage :hammer_and_wrench:

You can use the micoo command to interact with mise-cookbooks. Here are some common commands:

List all available cookbooks:

micoo list

This will output:

Available cookbooks:
- terraform
- python
- cpp
- pnpm
- node
- ruby-on-rails
- opentofu

Dump a specific cookbook to a mise.toml file:

micoo dump python > mise.toml

Open the mise-cookbooks repository in the default application:

open $(micoo remote)

Open the cloned repository in the default application:

open $(micoo root)

Open the log file in the default application:

open $(micoo log)

Show the current version of micoo:

micoo version

Show the information about the micoo application:

micoo info

Start interactive mode for cookbook selection and generation:

micoo interactive

The interactive mode supports multiple output locations:

  • mise.toml - Standard configuration file
  • mise.local.toml - Local config (not committed to source control)
  • mise/config.toml - Configuration in mise subdirectory
  • .config/mise.toml - Configuration in .config directory
  • .config/mise/config.toml - Configuration in .config/mise subdirectory
  • .config/mise/conf.d/custom.toml - Configuration in conf.d directory (alphabetical loading)

Support :heart:

If you have any questions or need help, feel free to open an issue on the GitHub repository.

Author :person_with_crown:

This project is maintained by Hasan Sezer TaลŸan, It's me :wave:

Contributing :heart:

Any contributions are welcome! Please follow the Contributing Guidelines to contribute to this project.

Tasks

Clone the repository and cd into the project directory:

git clone https://github.com/hasansezertasan/micoo
cd micoo

The commands below can also be executed using the xc task runner, which combines the usage instructions with the actual commands. Simply run xc, it will pop up an interactive menu with all available tasks.

install

Install the dependencies:

uv sync

style

Run the style checks:

uv run --locked tox run -e style

ci

Run the CI pipeline:

uv run --locked tox run

Related Projects :chains:

License :scroll:

This project is licensed under the MIT License.

Changelog :memo:

Please check the Releases page for the changelog.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

micoo-0.5.0.tar.gz (69.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

micoo-0.5.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file micoo-0.5.0.tar.gz.

File metadata

  • Download URL: micoo-0.5.0.tar.gz
  • Upload date:
  • Size: 69.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for micoo-0.5.0.tar.gz
Algorithm Hash digest
SHA256 6a15e14e14b750d2f04a10433e0ecd09201a2313b02e0e0586ddba29cf102fc2
MD5 fad1a7988717cebbb4963698ebd5754f
BLAKE2b-256 951a950b6f75222329fbf672da9fb013ab6f3df9120564a2814521321dd51f25

See more details on using hashes here.

File details

Details for the file micoo-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: micoo-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for micoo-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 723b8f1eb37eb800218be0c70a01d567bbe8f1457e960564c7073575132bdd41
MD5 c24dadbe688e53d0beecbf57623df816
BLAKE2b-256 2a617c1d072ff90ef251dbc3f18a66f98a5c9a6d7a397305df443c9d1022572c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page