Skip to content

mia-platform/miactl

Repository files navigation

miactl

Build Status Go Report Card GoDoc

miactl is the CLI for Mia-Platform Console. It will eventually implement most of the actions you can do via the UI.

To Start Using miactl

Read the documentation here.

To Start Developing miactl

To start developing the CLI you must have this requirements:

  • golang 1.19+
  • make

Once you have pulled the code locally, you can build the code with make:

make build

make will download all the dependencies needed and will build the binary for your current system that you can find in the bin folder.

To build the docker image locally run:

make docker-build

Testing miactl

To run the tests use the command:

make test

Or add the DEBUG_TEST flag to run the test with debug mode enabled:

make test DEBUG_TEST=1

Before sending a PR be sure that all the linter pass with success:

make lint