https://github.com/askbuddie/npelection
Nepal election CLI tool to get the election update from terminal
https://github.com/askbuddie/npelection
cli go golang golang-application golang-examples nepal terminal terminal-app
Last synced: about 1 year ago
JSON representation
Nepal election CLI tool to get the election update from terminal
- Host: GitHub
- URL: https://github.com/askbuddie/npelection
- Owner: askbuddie
- License: mit
- Created: 2022-05-23T11:58:32.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-07T02:05:10.000Z (over 3 years ago)
- Last Synced: 2025-04-09T23:06:28.695Z (about 1 year ago)
- Topics: cli, go, golang, golang-application, golang-examples, nepal, terminal, terminal-app
- Language: Go
- Homepage: https://askbuddie.com
- Size: 23.4 KB
- Stars: 12
- Watchers: 0
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NpElection ( Nepal Election )
NpElection displays the election data of Nepal right from the comfort of your terminal.
# Installation
- Download the latest release as per your system from the [Releases](https://github.com/askbuddie/npelection/releases) page.
# How to use
Once you have downloaded a release file, extract the zip and run from the relative directory:
```bash
./npelection
```
## Add to Path
```bash
./npelection init
```
Now, you will be able to use **`npelection`** as a command.
## List districts
```bash
./npelection list
```
List all districts.
## Get Election Result for District
```bash
./npelection get -d
```
> **Note**, you can simply use: **`npelection get -d `** after doing **`./npelection init`**.
# Prerequisites (Build only)
- [Go](https://golang.org/doc/install)
# Build
- Clone the repository with `git clone git@github.com:askbuddie/npelection.git`
- Download the dependencies with `go mod download`
- Run with `go run main.go` or `go build`
- Run `make release` to build for all platforms (Windows, Linux, MacOS)
**Disclaimer: This tool is made entirely for educational purposes. Any legal responsibility belongs to the person or organization that uses it.**