0.13.1 • Published 1 year ago
@edkotkas/alia v0.13.1
Alia
Alias To Go
Simple and lightweight cross-platform Alias solution w/ Gist Sync support in Node.
Warning, this is an experimental tool. Use at your own discretion.
Install
npm install -g alia
Usage
al --help
Gist sync
Alia allows you to backup/restore config from a gist using the commands:
al --sync --push
to backup your config (push to gist)al --sync --pull
to restore your config (pull from gist)
To get started:
- Create a new Gist with a file titled
.alia.json
. - Create a new GitHub token with the
gist
permission. - Setup Alia with the following commands:
al --conf --token=<api token> --gist=<gist id>
Developing
Get up and running with Alia on your local machine.
Prerequisites
- Node: Version 19 or higher
Installing
- Clone the repository (or fork it)
git clone https://github.com/edkotkas/alia.git && cd alia
- Install the dev dependencies
npm i
- Run the script (will create a global config file in your home directory)
npm start -- --help
- Add issues to Github, make changes to the project and create pull requests for review
Tests
Run the tests
npm test
License
ISC © Eduard Kotkas