No description
Find a file
2025-12-04 21:54:52 +08:00
docs Changing modules dir to mods to prevent clash wit lua modules in docs 2021-01-05 20:00:15 +05:30
lib Flattening subvolumes v2 2025-12-04 21:54:52 +08:00
nix flake fix fix fix 2024-09-18 23:13:52 +08:00
.gitignore Changing modules dir to mods to prevent clash wit lua modules in docs 2021-01-05 20:00:15 +05:30
.gitmodules Flattening subvolumes v1 2025-12-04 21:43:40 +08:00
config.ld update docs 2021-01-05 19:48:38 +05:30
flake.nix nix v2 2024-09-18 22:49:50 +08:00
README.md Added more documentation 2023-11-02 13:31:03 +08:00
t Initial Commit 2020-12-31 22:49:13 +05:30
t.lua Commit Fix 2025-12-03 01:20:07 +08:00

Tsundre

A tool to create shell automation sequences using lua For documentation, visit https://github.shoeb.pw/tsundere/

Getting Started:

  1. Clone this repo:
    git clone https://github.com/shoeb751/tsundere.git && cd tsundere
    
  2. Add it to your PATH - without this you will have to use absolute path of the t binary
  3. Clone some modules to mods dir:
    mkdir mods && cd mods && git clone https://github.com/shoeb751/tsundere_basic_mod.git testmod
    
  4. Call the module using
    t <modname> <function_name> [<func_arg_1> <func_arg_2> ...]
    
    For eg.
    ./t test get_repos shoeb751
    
  5. You should be able to use help for a module by running:
    ./t test help
    
  6. Note that to run the test, you will need luasocket and luasec libraries installed as they are not included in this project.

Contributing

  1. If more featues are desired, you can create an issue, and it can be discussed there.
  2. I am open to contributions - just make sure that the code is clear and has ldoc compatible documentation

Licence

  1. I expect attribution if something is built on top of this
  2. Do not sell this to to anyone - this is free software

TODO

System for creating a config file, which lists down modules and pulling those modules from either git or http zip/tar by running a command like t mod sync

Config file will be: mods.lua (Added to repo as mods.lua.sample)

Need to decide where to keep the code for this, as mods is directory is not managed by git Will be keeping the code in the test modules git repo, and in future make it to mean basic modules