Skip to content

hasansezertasan/micoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

31 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

micoo: quick access to mise-cookbooks

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

Checked with mypy linting - Ruff GitHub Tag

Downloads Downloads/Month Downloads/Week

micoo (short for mise cookbooks) is a โšก command-line tool that makes it easy to access mise configuration files from mise-cookbooks ๐Ÿ“š.

Typical Usage ๐Ÿš€

# List available cookbooks
micoo list

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

Features โœจ

  • ๐Ÿš€ 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 ๐Ÿ“ฆ

There are several ways to install micoo! ๐Ÿš€ I recommend using (obviously) mise ๐Ÿ› ๏ธ. Here's how to do it:

mise install pipx:micoo

Alternatively, you can install it using uv tool install micoo ๐Ÿงฉ

uv tool install micoo

Command Reference ๐Ÿ“–

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 ๐Ÿ› ๏ธ

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 โค๏ธ

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

Author ๐Ÿซ…

This project is maintained by Hasan Sezer TaลŸan, It's me ๐Ÿ‘‹

Contributing โค๏ธ

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

Development ๐Ÿงฐ

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

pypi:readme

Build the README.md file:

uv run hatch-fancy-pypi-readme -o PyPI.md
open PyPI.md

Related Projects โ›“๏ธ

License ๐Ÿ“œ

This project is licensed under the MIT License.

Changelog ๐Ÿ“

For a detailed list of changes, please refer to the CHANGELOG.