Skip to content

Nepal election CLI tool to get the election update from terminal

License

Notifications You must be signed in to change notification settings

askbuddie/npelection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2ed046b Â· Nov 23, 2022

History

16 Commits
May 24, 2022
Nov 23, 2022
Nov 23, 2022
Nov 23, 2022
May 23, 2022
Nov 23, 2022
May 23, 2022
Nov 23, 2022
Nov 23, 2022
Nov 23, 2022
Nov 23, 2022
Nov 23, 2022

Repository files navigation

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

How to use

Once you have downloaded a release file, extract the zip and run from the relative directory:

./npelection

Add to Path

./npelection init

Now, you will be able to use npelection as a command.

List districts

./npelection list

List all districts.

Get Election Result for District

./npelection get -d <district>

Note, you can simply use: npelection get -d <district> after doing ./npelection init.

Prerequisites (Build only)

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.