diff options
author | Alfredo Palhares | 2018-04-18 17:26:44 +0100 |
---|---|---|
committer | Alfredo Palhares | 2018-04-18 17:32:35 +0100 |
commit | 7851388062fb15170919f87e0cf48a2548245b6c (patch) | |
tree | 9cec9ec85a9e0873776f378e05a3d180534d74cc /joplin-cli.sh | |
download | aur-7851388062fb15170919f87e0cf48a2548245b6c.tar.gz |
Initial Commit
Diffstat (limited to 'joplin-cli.sh')
-rw-r--r-- | joplin-cli.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/joplin-cli.sh b/joplin-cli.sh new file mode 100644 index 000000000000..0b33d3621464 --- /dev/null +++ b/joplin-cli.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +readonly joplin_dir="/usr/share/joplin-cli/" + +if [[ ! -d $joplin_dir ]]; then + echo "Did not found joplin data directory" + exit 1 +fi + +cd $joplin_dir + +node main.js ${@} |