https://github.com/jmlopez-rod/m
A collection of devops tools
https://github.com/jmlopez-rod/m
devops devops-tools docker
Last synced: 2 months ago
JSON representation
A collection of devops tools
- Host: GitHub
- URL: https://github.com/jmlopez-rod/m
- Owner: jmlopez-rod
- License: mit
- Created: 2021-02-03T04:28:06.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2025-01-14T19:45:23.000Z (over 1 year ago)
- Last Synced: 2025-09-24T23:14:15.109Z (7 months ago)
- Topics: devops, devops-tools, docker
- Language: Python
- Homepage: https://jmlopez-rod.github.io/m/
- Size: 4.58 MB
- Stars: 1
- Watchers: 0
- Forks: 4
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# [m](https://jmlopez-rod.github.io/m/)
## install
```
pip install jmlopez-m
```
To install from a branch run
```
pip install git+https://github.com/jmlopez-rod/m.git@[branch-name]
```
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.
Note that part of the documentation relies heavely on the docstrings provided to
the functions, classes and modules in the library. Please run `make devDocs` to
make sure that the documentation is up to date. The documentation site will be
build and deployed to the `gh-pages` branch whenever a new commit is pushed to
the `master` branch.