Skip to content

Commit

Permalink
Create a reference .md for the hydra CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
tacurran committed Apr 26, 2020
1 parent 431522d commit c3709c9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion scripts/run-cli-reference.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ CLIDOC=./docs/docs/cli-reference.md

echo "Creating CLI Reference..."

# https://linux.die.net/abs-guide/here-docs.html
# turn this in an in mem here-doc to avoid /tmp out
# exec 9<<EOF
# cat <&9 >$OUT

cat <<EOF >$CLIDOC
Ory CLI Reference as of $(date)
# Command overview
Expand All @@ -28,4 +33,6 @@ $(hydra help token)
$(hydra help version)
EOF

echo "writting CLI Reference to $CLIDOC..."
echo "writting CLI Reference to $CLIDOC...

0 comments on commit c3709c9

Please sign in to comment.