Skip to content

Commit ee1b813

Browse files
committedDec 22, 2015
Add more style guides
1 parent 77820c3 commit ee1b813

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed
 

‎doc/style.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,12 @@ bash-my-aws style guide
33

44
* Always quote "$variables"
55
* Only use parentheses around variables when not surrounded with whitespace (better way to phrase this?)
6-
* use "$(date)" rather than "`date`"
6+
* use ``$(date)`` rather than "``date``"
7+
* use `[[` and `]]` rather than `[`, `]`, or `test`
8+
9+
* show errors with `__bma_error()`
10+
* show usage options with `__bma_usage()`
11+
* parse inputs with `__bma_read_inputs()`
12+
* make sure commands support `--json` and `--text` output options
13+
14+
* regenerate and test the bash_completion script after adding new functions

0 commit comments

Comments
 (0)
Please sign in to comment.