Giter Site home page Giter Site logo

hultner / tmux-resurrect-util Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 48 KB

CLI utility for handling routine tasks with tmux-resurrect

License: MIT License

Python 91.32% Shell 8.68%
tmux python python3 tmux-conf tmux-configs tmux-plugins tmux-session-manager tmux-session tmux-plugin

tmux-resurrect-util's Introduction

$_ tmux-resurrect-util

CLI utility for handling routine tasks with tmux-resurrect

» tmux-res --help
Usage: tmux-res [OPTIONS] COMMAND [ARGS]...

  TMUX Resurrect utility, simplifies and automates common tasks

Options:
  --version      Show the version and exit.
  -v, --verbose  Enables verbose mode
  --help         Show this message and exit.

Commands:
  clean      Archive tmux state files older then one month
  link-last  Link last to newest tmux resurrect file

Install

In below examples I use unopionated pip for installation. I recommend installing it into a virtualenv, there are multiple tools to achive this.

Requirements
To use this utility you need Python 3.7. See app.py for specifics.

» python --version
Python 3.7.0
» pip --version
pip 10.0.1 from /…/lib/python3.7/site-packages/pip (python 3.7)

Install
You may need to use pip3 install if you've got pip linked to legacy python (2.x)

git clone [email protected]:Hultner/tmux-resurrect-util.git
pip install ./tmux-resurrect-util

Install via pip You may also install this package through pip via PyPI

pip install tmux-res

Development & contributions

Fork and send a PR! For formatting I use black to keep diffs small, use pylint/flake8 for linting and pytest for testing. Code is currently in prototype-phase, simplifications, refactoring and other quality improvements are welcome.

Roadmap

The current product roadmap are documented as a TODO:-section in the module docstring of app.py. Highlevel test psuedo code are found in test.py.

Get started

I use pipenv for development. Make sure you update the Pipfile and Pipefile.lock if you add or update dependencies. Avoid adding external packages if they aren't needed, especially low activity ones. Consult with me if you're planning to create a PR where you want to pull in something new and fancy.

» git clone [email protected]:Hultner/tmux-resurrect-util.git
...
» cd tmux-resurrect-util
» pipenv install -e .
...
» vi .

Enjoy!


”Inpsiring qoutes aren't for everyone” — Some One, Somewhere (sometime).

 .
..:

tmux-resurrect-util's People

Contributors

hultner avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

tmux-resurrect-util's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.