Metadata-Version: 2.1
Name: jmlopez-m
Version: 0.26.0
Summary: m
Home-page: https://github.com/jmlopez-rod/m
Author: Manuel Lopez
Author-email: jmlopez.rod@gmail.com
Project-URL: Bug Tracker, https://github.com/jmlopez-rod/m/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: typing_extensions
Requires-Dist: pydantic>=2.1.0
Requires-Dist: pyyaml
Requires-Dist: packaging
Requires-Dist: pygments>=2.14.0
Requires-Dist: argcomplete

# [m](https://jmlopez-rod.github.io/m/)

## install

```
pip install jmlopez-m
```

The cli supports `argcomplete`. To set it up follow the following depending on
your shell

```shell
# for fish shell
register-python-argcomplete --shell fish m > /tmp/foo
sudo mv /tmp/foo /usr/share/fish/vendor_functions.d/m.fish

# for bash shell
register-python-argcomplete --shell bash m > /tmp/foo
sudo mv /tmp/foo /usr/share/bash-completion/completions/m

# for zsh
register-python-argcomplete --shell zsh m > /tmp/foo
sudo mv /tmp/foo /usr/share/zsh/site-functions/_m
```

## development

If you are working on a non-intel machine (M1/M2 Macs) you can run
`make buildPy311DevContainer` and update `devcontainer.json` to use the
`m-devcontainer` image.

Open the devcontainer in VSCode. Once there open a terminal and run

```
poetry install
```

and

```
pnpm install
```

to install the dependencies.

There are several make targets to run. The most important one is
`make ci-checks`. Run that since it is the closest to what the CI will run.
