-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathinv.1
91 lines (86 loc) · 2.56 KB
/
inv.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
.TH INVENTORY_MANAGOAT 1 inv\-VERSION
.SH NAME
inv \- Simple Inventory Manager
.SH SYNOPSIS
.B inv [FLAGS] [OPTIONS] <SUBCOMMAND>
.SH DESCRIPTION
.P
Inventory Managoat is a command-line based inventory manager.
It is used to keep a list of "things" (usually physical items) that you own.
It provides simple but effective ways to interact with this list.
.P
To use the program, you have to specify the general flags [FLAGS] and options [OPTIONS],
then the ACTION you want to execute over the inventory list <SUBCOMMAND>
and finally the options specific to that subcommand.
.TP
For a full usage description, use
.RS
.B inv --help
.TP
.B inv <SUBCOMMAND> --help
.RE
which will show all available options. Alternatively, read the rest of this page, which contains all the non subcommand-specific options.
.SH OPTIONS
.TP
.B \-h, \-\-help
Prints help information
.TP
.B \-m, \-\-minimal
Enables printing of the data without creating pretty tables. Minimal mode will not show the total quantity of item types.
.TP
.B \-V, \-\-version
Prints version information
.TP
.B \-n, \-\-name <name>
Uses the inventory with this name. The files will be loaded and saved using this prefix. Defaults to "inventory".
.TP
.B \-w, \-\-workdir <workdir>
The directory to use to load and save the inventory files. Defaults to the default configuration directory of your user
.SH COMMANDS - Types
.TP
.B ct
Create a new item type
.TP
.B rt
Print one or multiple item type data
.TP
.B ut
Modify the properties of an item type
.TP
.B dt
Delete an item type
.SH COMMANDS - Instances
.TP
.B ci
Create a new item instance
.TP
.B ri
Print one or multiple item instance data
.TP
.B ui
Modify the properties of an item instance
.TP
.B di
Delete an item instance permanently and all records of it
.SH COMMANDS - Utilities
.TP
.B list-expired
List expired item instances
.TP
.B list-missing
List item types that do not have enough item instances to satisfy their minimum quantity
.TP
.B trash
Put an item instance in the trash, keeping a record of its existence
.TP
.B use
Use some quantity from an item type. The manager will try its best to use from an item instance that is already opened.
.SH CUSTOMIZATION
Inventory Managoat is customized by specifying command line options or modifying the source code/patching in features according to your needs.
.SH SEE ALSO
.SH ISSUES
There is no data race prevention. Never run this program in parallel as it will lead to data corruption.
.TP
See https://github.com/jojolepro/inventory-managoat/issues
.SH BUGS
Send all bug reports and pull requests/patches to https://github.com/jojolepro/inventory-managoat