Skip to content

Commit

Permalink
Docs: Sort flag options & examples alphabetically (#107)
Browse files Browse the repository at this point in the history
* Sort help flags by letter

* #107 sort readme help flags
  • Loading branch information
allen-munsch authored and klaudiosinani committed Jan 25, 2019
1 parent d917db2 commit 1d044f8
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 42 deletions.
42 changes: 21 additions & 21 deletions lib/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,41 +6,41 @@ module.exports = `
Options
none Display board view
--task, -t Create task
--note, -n Create note
--timeline, -i Display timeline view
--delete, -d Delete item
--archive, -a Display archived items
--check, -c Check/uncheck task
--star, -s Star/unstar item
--clear Delete all checked items
--copy, -y Copy item description
--list, -l List items by attributes
--find, -f Search for items
--delete, -d Delete item
--edit, -e Edit item description
--find, -f Search for items
--help, -h Display help message
--list, -l List items by attributes
--move, -m Move item between boards
--note, -n Create note
--priority, -p Update priority of task
--archive, -a Display archived items
--restore, -r Restore items from archive
--clear Delete all checked items
--help, -h Display help message
--star, -s Star/unstar item
--task, -t Create task
--timeline, -i Display timeline view
--version, -v Display installed version
Examples
$ tb
$ tb --task Make some buttercream
$ tb --task @coding Improve documentation
$ tb --task @coding @reviews Review PR #42
$ tb --note @coding Mergesort worse-case O(nlogn)
$ tb --archive
$ tb --check 1 2
$ tb --delete 4
$ tb --star 2
$ tb --clear
$ tb --copy 1 2 3
$ tb --priority @3 2
$ tb --timeline
$ tb --delete 4
$ tb --edit @3 Merge PR #42
$ tb --move @1 cooking
$ tb --find documentation
$ tb --list pending coding
$ tb --archive
$ tb --move @1 cooking
$ tb --note @coding Mergesort worse-case O(nlogn)
$ tb --priority @3 2
$ tb --restore 4
$ tb --clear
$ tb --star 2
$ tb --task @coding @reviews Review PR #42
$ tb --task @coding Improve documentation
$ tb --task Make some buttercream
$ tb --timeline
`;
42 changes: 21 additions & 21 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,43 +85,43 @@ $ tb --help
Options
none Display board view
--task, -t Create task
--note, -n Create note
--timeline, -i Display timeline view
--delete, -d Delete item
--archive, -a Display archived items
--check, -c Check/uncheck task
--star, -s Star/unstar item
--clear Delete all checked items
--copy, -y Copy item description
--list, -l List items by attributes
--find, -f Search for items
--delete, -d Delete item
--edit, -e Edit item description
--find, -f Search for items
--help, -h Display help message
--list, -l List items by attributes
--move, -m Move item between boards
--note, -n Create note
--priority, -p Update priority of task
--archive, -a Display archived items
--restore, -r Restore items from archive
--clear Delete all checked items
--help, -h Display help message
--star, -s Star/unstar item
--task, -t Create task
--timeline, -i Display timeline view
--version, -v Display installed version
Examples
$ tb
$ tb --task Make some buttercream
$ tb --task @coding Improve documentation
$ tb --task @coding @reviews Review PR #42
$ tb --note @coding Mergesort worse-case O(nlogn)
$ tb --archive
$ tb --check 1 2
$ tb --delete 4
$ tb --star 2
$ tb --clear
$ tb --copy 1 2 3
$ tb --priority @3 2
$ tb --timeline
$ tb --delete 4
$ tb --edit @3 Merge PR #42
$ tb --move @1 cooking
$ tb --find documentation
$ tb --list pending coding
$ tb --archive
$ tb --move @1 cooking
$ tb --note @coding Mergesort worse-case O(nlogn)
$ tb --priority @3 2
$ tb --restore 4
$ tb --clear
$ tb --star 2
$ tb --task @coding @reviews Review PR #42
$ tb --task @coding Improve documentation
$ tb --task Make some buttercream
$ tb --timeline
```

## Views
Expand Down

0 comments on commit 1d044f8

Please sign in to comment.