Skip to content

Conversation

@drsaka10
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

Copy link

@drdebayor1 drdebayor1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

@drdebayor1
Copy link

thank you

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.

2 participants