Skip to content
/ go-mli Public

एक एम.क्यू.टी.टी अधिलेख को प्रचालेखन करने वाला तन्त्राक्ष्।

License

Notifications You must be signed in to change notification settings

boseji/go-mli

Repository files navigation

ॐ भूर्भुवः स्वः

तत्स॑वि॒तुर्वरे॑ण्यं॒

भर्गो॑ दे॒वस्य॑ धीमहि।

धियो॒ यो नः॑ प्रचो॒दया॑त्॥

बोसजी के द्वारा रचित गो-मिल तन्त्राक्ष्।

एक एम.क्यू.टी.टी अधिलेख को प्रचालेखन करने वाला तन्त्राक्ष्।

यह गो-क्रमादेश आधारित एम.क्यू.टी.टी अधिलेख में प्रचालेखन का तन्त्राक्ष् है। यह किसी विशेष एम.क्यू.टी.टी संग्राहक से कई विषयों को प्रचालेखन करने की उपियोगिता देता है।

रचित प्रचालेखन विधि csv प्रारूप के समान है।

एक रचनात्मक भारतीय उत्पाद।

go-mli Boseji's Golang MQTT Logging command line

Easy to use Golang based MQTT Command line logger. This allows to log multiple topics from a particular MQTT Broker.

The generated log is akin to csv format.

Install go-mli

go install github.com/boseji/go-mli@latest

कार्यविधि - Usage

upx क्रमादेश

UPX - (नवीनतम संस्करण) संक्षिप्त करने वाला क्रमादेश।

# https://github.com/upx/upx/releases/latest
export release_file=$(curl -s https://api.github.com/repos/upx/upx/releases | \
grep browser_download_url | grep amd64_linux | head -n 1 | \
cut -d '"' -f 4)
wget -c "$release_file"

export extract=$(echo $release_file | cut -d "/" -f 9)
export fol=$(tar -tf "./${extract}" | grep upx | head -n 1)
tar -xvf "./${extract}" --wildcards *upx -C .
sudo mv "${fol}upx" /usr/bin
rm "./${extract}"
rm -rf "./${fol}"

निर्माण क्रमादेश - Build Executables Command

make build

परीक्षा क्रमादेश - Test the Code

make test

Name go-mli

go- prefix is the designate this as a Golang project.

The mli => MLI expands as Mqtt Logging command lIne.

Naming convention of this application as per the comment here and a Go playbook here.

License

SPDX: GPL-3.0-or-later

go-mli - Boseji's Golang MQTT Logging command line.

Copyright (C) 2024 by Abhijit Bose (aka. Boseji)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

About

एक एम.क्यू.टी.टी अधिलेख को प्रचालेखन करने वाला तन्त्राक्ष्।

Resources

License

Stars

Watchers

Forks