You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: klog/app/cli/bookmarks.go
+23-7Lines changed: 23 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,10 @@
1
1
package cli
2
2
3
3
import (
4
+
"strings"
5
+
4
6
"github.com/jotaen/klog/klog/app"
5
7
"github.com/jotaen/klog/klog/app/cli/util"
6
-
"strings"
7
8
)
8
9
9
10
typeBookmarksstruct {
@@ -24,7 +25,7 @@ type Bookmarks struct {
24
25
func (opt*Bookmarks) Help() string {
25
26
return`
26
27
Bookmarks allow you to interact with often-used files via an alias, independent of your current working directory.
27
-
You can think of a bookmark as some sort of klog-specific symlink, that’s always available when you invoke klog, and that resolves to the designated file.
28
+
You can think of a bookmark as some sort of klog-specific symlink, that’s always available when you invoke klog, and that resolves to the designated target file.
28
29
Use the subcommands below to set up and manage your bookmarks.
29
30
30
31
A bookmark name is denoted by the prefix '@'. For example, if you have a bookmark named '@work', that points to a .klg file, you can use klog like this:
@@ -38,6 +39,8 @@ This is useful in case you only have one main file at a time, and allows you to
38
39
39
40
klog total
40
41
klog start --summary 'Started new project'
42
+
43
+
When creating a bookmark, you can also create the respective target file by using the '--create' flag.
0 commit comments