Class: Memo::Usage

Inherits:
Object
  • Object
show all
Defined in:
lib/memo/value/usage.rb

Instance Method Summary collapse

Instance Method Details

#to_sObject



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/memo/value/usage.rb', line 3

def to_s
  <<~TEXT
    EASY EDIT MEMO

    USAGE
     - Config
      You can edit basic config and register aliases

      $ memo c
      $ memo config

     - Edit
      $ memo e
      $ memo edit
      $ memo edit todo
      $ memo edit todo -n project1
      $ memo edit todo -n p # use namespace_alias

     - Preview
      $ memo p
      $ memo preview
      $ memo p todo
      $ memo p todo -n project1
      $ memo p todo -n p # use namespace_alias

    - Today
      # edit
      $ memo t
      $ memo today

      # preview
      $ memo preview today
      $ memo p t

    - Fuzzy
      $ memo fuzzy
      $ memo f

    - Custom Command
      $ memo todo # use command_alias

    - Confirm Alias
      $ memo a
      $ memo alias
  TEXT
end