tankery / auto-life

Automate my life

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto Life

Auto Life is a project to try to automate any boring/repeating things in my life.

Installation

Clone this repo and add this folder to your path, example:

PATH_AUTO_LIFE=~/.auto-life
git clone --recurse-submodules https://github.com/tankery/auto-life $PATH_AUTO_LIFE
export PATH=$PATH:$PATH_AUTO_LIFE
# Check usability
al --help

Usage

al <action>:<target>

Keep Developing

This project is just in beginning, help it grow up!

Some Princeples

  • It has a root command that can listing every other sub-commands, so I won't forget anything. (Just like Git commands)
  • Argumants are optional, commands become interactive when some arguments is missing, so I won't need to remamber every argumants.
  • Use Python as default language
  • Private keys, access keys, certificates, should NOT included in this project, it can be listing in other private repos.

Acknowledgements

The idea is brought from Tyr Chen's WeChat article: Code is Low. Reading his writing are really a mind exploding experience.

Libraries

  • Click, a Python package for creating CLI using annotations.
  • Jinja2, a template engine for Python

About

Automate my life


Languages

Language:Python 88.3%Language:Smarty 11.7%