mdnotes 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/mdnotes.rb +16 -12
  2. metadata +5 -5
data/lib/mdnotes.rb CHANGED
@@ -105,10 +105,15 @@ class MDNotes
105
105
 
106
106
  def start
107
107
  if @params['h'] || @params['help']
108
-
109
- help_str = %Q{
110
- Instruction:
111
-
108
+
109
+ tabs = 3
110
+ str = %Q{
111
+ MDNOTES
112
+ -------
113
+
114
+ Usage: mdnotes [optional params]
115
+
116
+ Description:
112
117
  - Using a terminal, [cd] into the directory you want to takes notes.
113
118
  - Use command [mdnotes] to create a notes directory.
114
119
  - Create your markdown (.md) in the md/ directory.
@@ -116,17 +121,16 @@ Instruction:
116
121
  - Use [mdnotes -p] or [mdnotes --publish] to create PDFs of your notes. These will be located in the pdf/ folder
117
122
  - If you want to include images in your notes you can place them in the images folder located under ./html/images. Use ![alt-text](./images/my_image.png) to reference an image.
118
123
 
119
- Parameters:
120
-
121
- -p, --publish Create PDFs.
122
- -h, --help Show the help.
124
+ Options:
125
+ -p, --publish#{"\t"*tabs}Create PDFs.
126
+ -h, --help#{"\t"*tabs}Show the help.
123
127
 
124
128
  Repo:
125
-
126
129
  You can find this at http://bitbucket.org/ugorelik/mdnotes
127
-
128
-
129
- }
130
+ ---
131
+ }
132
+
133
+ puts str
130
134
  else
131
135
  check_directories
132
136
  compile_notes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mdnotes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-04-13 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdiscount
16
- requirement: &70169045923360 !ruby/object:Gem::Requirement
16
+ requirement: &70315343100460 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70169045923360
24
+ version_requirements: *70315343100460
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: pdfkit
27
- requirement: &70169045922720 !ruby/object:Gem::Requirement
27
+ requirement: &70315343099900 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70169045922720
35
+ version_requirements: *70315343099900
36
36
  description: Suite for taking easy notes in markdown and then converting to html and
37
37
  pdf.
38
38
  email: uri.gore@gmail.com