Skip to content

Commit

Permalink
Merge pull request #30 from ali5ter/adding-odo
Browse files Browse the repository at this point in the history
added a script for odo - copied from the oc script
  • Loading branch information
ali5ter authored Jan 27, 2022
2 parents 19deee4 + 9f8e491 commit 2201800
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions exp1/odo_taxo.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# Parse openshift CLI help and pretty print command taxonomy
# @author Alister Lewis-Bowen <bowena@vmware.com>

../cli_taxo.py odo \
--commands-token 'Commands\s\(\S+\):|Commands:' \
--commands-filter '^\s\s((?!#)\S+)\s+[A-Z]' \
--options-token '^Options:' \
--options-filter '^\s+?(-.+?):' \
"$@"

0 comments on commit 2201800

Please sign in to comment.