jlord / offline-issues

:grey_exclamation: :signal_strength: Get your GitHub Issues to read offline later. Mmm.
Other
640 stars 68 forks source link

Filtering option by issue state #24

Closed codeout closed 9 years ago

codeout commented 9 years ago

(depending on #23)

Adding an option --state to filter by issue state.

$ offline-issues jlord/offline-issues
Wrote data.
Wrote markdown files.
Wrote html files.
$ grep -r state md  # to find open
md/jlord-offline-issues-1.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-10.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-11.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-13.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-15.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-16.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-19.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-21.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-22.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-23.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-23.md:I guessed behavior of options which are already implemented and created this PR. Please let me know if I misunderstand your options, I'll fix statements above.
md/jlord-offline-issues-3.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-4.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-8.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-9.md:> state: **open** opened by: **** on: ****
$ offline-issues jlord/offline-issues -s all
Wrote data.
Wrote markdown files.
Wrote html files.
$ grep -r state md  # to find open and closed
md/jlord-offline-issues-1.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-10.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-11.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-12.md:> state: **closed** opened by: **** on: ****
md/jlord-offline-issues-13.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-14.md:> state: **closed** opened by: **** on: ****
md/jlord-offline-issues-15.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-16.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-17.md:> state: **closed** opened by: **** on: ****
md/jlord-offline-issues-18.md:> state: **closed** opened by: **** on: ****
md/jlord-offline-issues-19.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-2.md:> state: **closed** opened by: **** on: ****
md/jlord-offline-issues-20.md:> state: **closed** opened by: **** on: ****
md/jlord-offline-issues-21.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-22.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-23.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-23.md:I guessed behavior of options which are already implemented and created this PR. Please let me know if I misunderstand your options, I'll fix statements above.
md/jlord-offline-issues-3.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-4.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-5.md:> state: **closed** opened by: **** on: ****
md/jlord-offline-issues-6.md:> state: **closed** opened by: **** on: ****
md/jlord-offline-issues-7.md:> state: **closed** opened by: **** on: ****
md/jlord-offline-issues-8.md:> state: **open** opened by: **** on: ****
md/jlord-offline-issues-9.md:> state: **open** opened by: **** on: ****
jlord commented 9 years ago

Thank you!!