Alias To Go


Keywords
alias, cli, cmd, aka, alias-to-go, backup, gist, hacktoberfest
License
ISC
Install
npm install alia@0.6.0

Documentation

Alia

install size c8 config on GitHub

Node.js CI

npmnpm

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 --backup to backup your config to gist
  • al --sync --restore to restore your config from gist

To get started:

  1. Create a new Gist with a file titled .alia.json.
  2. Create a new GitHub token with the gist permission.
  3. 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: LTS or higher

Setup

  • 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
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