This repo contains the boxmetrics cli built with Go
This CLI aim to manage the whole boxmetrics ecosystem :
- Install agent locally or on multiple target
- Uninstall agent locally or on multiple target
- Get various data from API
- Generate report from boxmetrics API
- Test boxmetrics API heatlcheck
- Test boxmetrics frontapp heatlcheck
docker run boxmetrics/boxmetrics-cli
curl https://raw.githubusercontent.com/boxmetrics/boxmetrics-cli/master/scripts/install.sh | bash
-
Donwload a binary from Github release page
-
Run application
# Made application executable
sudo chmod +x boxmetrics
# Run application
./boxmetrics --help
- Clone the git repository
# cloning git repository
git clone https://github.com/boxmetrics/boxmetrics-cli
- Build application
# go to boxmetrics-cli directory
cd boxmetrics-cli
# run helper command to build
make build
- Run application
# Made application executable
sudo chmod +x bin/boxmetrics
# run application
./bin/boxmetrics --help
-
Fork the git repository
-
Create your feature branch
-
Apply your changes
-
Run tests
# run test
make tests
make build
# test your feature
./bin/boxmetrics -awesome feature
-
Commit your changes
-
Push it on your fork
-
Create new pull request
.
├── bin # Project binaries
├── cmd # Main applications for this project
├── configs # Configuration file templates or default configs
├── docs # Design and user documents
├── internal
│ └── pkg # Private library code
├── scripts # Scripts to perform various build, install, analysis, etc operations
├── test # Additional external test apps and test data
├── Dockerfile # Docker image
├── go.mod # Module dependencies
├── go.sum # Ensure dependencies integrity
├── JenkinsFile # Jenkins pipeline
├── main.go # Application entry point
├── Makefile # Helpers command
├── LICENSE
└── README.md
Project initially launched by Laurent Panek, Maxence Colmant and Abdessalam Benharira
Laurent Panek Security System Integrator |
Abdessalam Benharira JavaScript Developer |