Adds items to a talon list when certain git commands are executed, allowing files to be easily selected by voice.
Project description
Git item labeller for Talon
These scripts replace git commands, numbering items in the output and creating a talon list of the items so they can be referred to with voice commands. For example:
$ git tl-status
On branch master
No commits yet
Untracked files:
(use "git add <file>..." to include in what will be committed)
1. .gitignore
2. README.md
3. status.py
4. utils.py
nothing added to commit but untracked files present (use "git add" to track)
with the following items being added to a list:
{'one': '.gitignore', 'two': 'README.md', 'three': 'status.py', 'four': 'utils.py'}
Instructions
TODO
- Create some commands to use the
git_status_items
andgit_branch_items
lists, e.g.:
git status: "git_status\n"
git add {user.git_status_items} [(and {user.git_status_items})+]:
items = user.cat(git_status_items_list, "' '")
"git {git_actions} '{items}'"
git go {user.git_status_items}: user.cd_directory_of(git_status_items)
git file {user.git_status_items}: "'{git_status_items}'"
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
talon_git_labeller-0.1.tar.gz
(4.9 kB
view hashes)
Built Distribution
Close
Hashes for talon_git_labeller-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64d882143fd0fb189640ef8b39c7db115e000cab7c841eed0e35184598ce2ade |
|
MD5 | 86b2756a071970d47bf82d3a96102ebe |
|
BLAKE2b-256 | 3d113246e2d1695a7604c423c29d9eea051823a845e8fba76716a21f1f941d7c |