manage bookmarks additions via cli

This commit is contained in:
MorganGeek
2020-07-08 12:07:34 +02:00
parent 9e8cc03e01
commit 86709fa128
2 changed files with 4 additions and 0 deletions

View File

@ -374,6 +374,9 @@ function rssadd {
ansible 127.0.0.1 -m lineinfile -a "path=~/.newsboat/urls line='"$1"'"
newsboat
}
function bookmarkadd {
ansible 127.0.0.1 -m lineinfile -a "path=~/Code/bookmarks/README.md insertafter='"$1"' line='* "$2"'"
}
function backupgithub {
curl -sL "https://api.github.com/users/$1/repos" | jq -r '.[] | .ssh_url' | xargs -n1 git clone --mirror --no-hardlinks
}