-
Notifications
You must be signed in to change notification settings - Fork 0
/
hb.1
49 lines (49 loc) · 967 Bytes
/
hb.1
1
2
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
49
.Dd October 06, 2021
.Dt HB 1
.Os
.Sh NAME
.Nm hb
.Nd simple notebook manager
.Sh SYNOPSIS
.Nm
.Op n|new
.Ar file_name.md
.Nm
.Op s|sync
.Sh DESCRIPTION
The
.Nm
provides a lightweight interface for accessing and adding notes on command line.
.Pp
.Nm
doesn't complain much and tries to work with what is available.
.Xr fzf 1
is used for fuzzy searching and it is launched by default if no options are given.
.Pp
In the case of fzf unavailability,
.Nm
simply changes directory to HB_PATH
.Pp
If
.Op sync
option is used,
.Nm
attempts a add/commit/push cycle on HB_PATH via
.Xr git 1
.Sh ENVIRONMENT
.Bl -hang -width "HB_PATH"
.It Ev HB_PATH
The location of your notebook folder.
.El
.Sh AUTHORS
.An Bharatvaj Aq Mt [email protected]
.Sh LICENSE
.Nm
is in the public domain.
.Pp
To the extent possible under law,
the creator of this work
has waived all copyright and related or
neighboring rights to this work.
.Pp
.Lk http://creativecommons.org/publicdomain/zero/1.0/