diff --git a/main.go b/main.go index ab1396a..5f137f9 100644 --- a/main.go +++ b/main.go @@ -17,8 +17,23 @@ import ( const version = "" const usage = ` Usage: - tf-docs - tf-docs md + tf-docs + tf-docs md + tf-docs -h | --help + tf-docs -v | --version + + Examples: + + # Generate a JSON of inputs and outputs + $ tf-docs ./my-module + + # Generate markdown tables of inputs and outputs + $ tf-docs md ./my-module + + Options: + -h, --help show help information + -v, --version show version information + ` func main() {