notes_cli 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07dc262d36a88b96abab04c9070075be0bce326698c3cae5a78973aac70c98bd
4
- data.tar.gz: 3344b61f29e8873452871e13a30e3134cfee017ce346dfa43776cc866106df7a
3
+ metadata.gz: c7be8ccab7ed6324491a1b588bfe563ed6c7a93a86807c9aa8a43e0a7e9c950f
4
+ data.tar.gz: 073fbbc6562b53979517f31b858b8ad0fe8ca707f6c87f0e8ef7e1c58eaeb2e2
5
5
  SHA512:
6
- metadata.gz: fc65e07f6e6b9368e6be6e9c9b99eea51003c733158eb9037df05b25261adc8523682b8c6d9e6e88ad294ce5efcb4b8a3bfa73b6e24e71eb3b488f740d0b580f
7
- data.tar.gz: cfad12dacdc64f541ddf329d6b5f725b688c81fe514b0a7946263fd3fb9d5126b586c00950c536b76f4d58b0bf47a03f858e3398d90d9d28c8d4efeca82820cd
6
+ metadata.gz: 268755fb8e2a99c7f5c5007b47342102858a913f43fd2a5ac3e2457181c50895cba61b06fc29ef854b07ac1faa90b3dca462373d629f373907d13bcf53f7dcd6
7
+ data.tar.gz: 4103772ebacbd2ea7288563ac0fbc97ec861ebf61fefc7b965b22c690566692ef79034b6a658b9447041a1f2c2921f78e9c792c04a1cdc6f4840afdf25bd871a
data/README.md CHANGED
@@ -105,4 +105,11 @@ notes -w workspace_name
105
105
  Switching workspace and creating a note there
106
106
  ```bash
107
107
  notes -w workspace_name -n notebook note_title
108
- ```
108
+ ```
109
+
110
+ ## Help
111
+ Display available commands
112
+
113
+ ```bash
114
+ notes --help
115
+ ```
@@ -8,11 +8,11 @@ if ARGV.empty?
8
8
  end
9
9
 
10
10
  OptionParser.new do |opt|
11
- opt.on('-n --new_note TITLE PATH/TO/FILE') { |option| workspace.create_note(option, ARGV) }
11
+ opt.on('-n --new_note NOTEBOOK NOTE_TITLE') { |option| workspace.create_note(option, ARGV) }
12
12
 
13
- opt.on('-d --delete_note TITLE PATH/TO/FILE ') { |option| workspace.delete_note(option, ARGV) }
13
+ opt.on('-d --delete_note NOTEBOOK NOTE_TITLE ') { |option| workspace.delete_note(option, ARGV) }
14
14
 
15
- opt.on('-l --list_notes TITLE PATH/TO/NOTEBOOK') do |option|
15
+ opt.on('-l --list_notes NOTEBOOK NOTE_TITLE') do |option|
16
16
  workspace.list_notes(option)
17
17
  end
18
18
 
@@ -1,3 +1,3 @@
1
1
  module NotesCli
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notes_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joeffrey Lamy