
aya
is a personal CLI in development!
To install aya
, run the following command:
go install github.com/ericmariot/aya@latest
Some basic usage examples:
$ aya

To get the current weather information based on your IP address, simply run:
$ aya weather
🌎 Getting coordinates for Criciuma
🌤️ Getting weather
America/Sao_Paulo TZ
Last update: 20:15
Current: 13.9°C
$ aya weather [city_name]
For example:
$ aya weather san-francisco
To display the weather information in a graphical format, use the --graph flag:
$ aya weather san-francisco --graph

A config file is saved at:
homeDir := os.UserHomeDir()
configFilePath = filepath.Join(homeDir, ".aya.json")
It is used to save your current location from the IP Address, and also caches cities that are used in the weather
command!
You can clear the config file with $ aya clearConfig
git clone https://git@github.com:ericmariot/aya.git
cd aya
go build
./aya
go test ./...
If you'd like to contribute, please fork the repository and open a pull request to the main
branch.