mirror of https://github.com/captn3m0/outliner.git
22 lines
314 B
Bash
22 lines
314 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if [ $# -eq 0 ]; then
|
||
|
echo "Please run with outliner [export|import] arguments"
|
||
|
exit
|
||
|
fi
|
||
|
|
||
|
case $1 in
|
||
|
export)
|
||
|
shift
|
||
|
bundle exec outliner-export $@
|
||
|
;;
|
||
|
import)
|
||
|
shift
|
||
|
bundle exec outliner-import $@
|
||
|
break
|
||
|
;;
|
||
|
*)
|
||
|
echo "Invalid command, please check README"
|
||
|
;;
|
||
|
esac
|