Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #47

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Develop #47

wants to merge 2 commits into from

Conversation

haganp07
Copy link

#!/bin/bash

Simply a wrapper script to keep you from having to use betty-style

and betty-doc separately on every item.

Originally by Tim Britton (@wintermanc3r), multiargument added by

Larry Madeo (@Hillmonkey)

BIN_PATH="/usr/local/bin"
BETTY_STYLE="betty-style"
BETTY_DOC="betty-doc"

if [ "$#" = "0" ]; then
echo "No arguments passed."
exit 1
fi

for argument in "$@" ; do
echo -e "\n========== $argument =========="
${BIN_PATH}/${BETTY_STYLE} "$argument"
${BIN_PATH}/${BETTY_DOC} "$argument"
done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant