An open API service indexing awesome lists of open source software.

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

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.**