@@ -41,7 +41,7 @@ dependencies aren't satisfied.
41
41
.PP
42
42
\fB init \fR
43
43
.RS 4
44
- Initializes a shard folder and creates a default \fI shard.yml \fR .
44
+ Initializes a default \fI shard.yml \fR in the current folder .
45
45
.RE
46
46
.PP
47
47
\fB install \fR
@@ -56,37 +56,52 @@ a requirement, but may succeed if a new dependency was added, as long as it
56
56
doesn't generate a conflict, thus generating a new \fI shard.lock \fR file.
57
57
.RE
58
58
.PP
59
- \fB list \fR
59
+ \fB list [--tree] \fR
60
60
.RS 4
61
- Lists the installed dependencies and their versions.
61
+ Lists the installed dependencies and their versions. Specifying \fI --tree \fR
62
+ will list nested dependencies in a tree manner, instead of a flattened list.
63
+ .RE
64
+ .PP
65
+ \fB lock [--update [<shards>]] \fR
66
+ .RS 4
67
+ Resolves dependencies and creates or updates the \fI shard.lock \fR file as per
68
+ the \fB install \fR command, but never installs the dependencies.
69
+ .PP
70
+ Specifying \fI --update \fR follows the same semantics as the \fB update \fR
71
+ command.
62
72
.RE
63
73
.PP
64
74
\fB prune \fR
65
75
.RS 4
66
76
Removes unused dependencies from \fI lib \fR folder.
67
77
.RE
68
78
.PP
69
- \fB update \fR
79
+ \fB update [<shards>] \fR
70
80
.RS 4
71
81
Resolves and updates all dependencies into the \fI lib \fR folder again,
72
82
whatever the locked versions and commits in the \fI shard.lock \fR file.
83
+ .PP
84
+ Specifying \fI shards \fR will update these dependencies only, trying to be as
85
+ conservative as possible with other dependencies, respecting the locked versions
86
+ and commits in the \fI shard.lock \fR file.
87
+ .PP
73
88
Eventually generates a new \fI shard.lock \fR file.
74
89
.RE
75
90
.PP
76
91
\fB version \fR [\fI <path> \fR ]
77
92
.RS 4
78
- Prints the current version of the shard.
93
+ Print the current version of the shard located at \fI path \fR .
79
94
.RE
80
95
.SH OPTIONS
81
96
.PP
82
97
\fB \-\- version \fR
83
98
.RS 4
84
- Prints the \fI shards \fR version.
99
+ Print the \fI shards \fR version.
85
100
.RE
86
101
.PP
87
102
\fB \- h, \-\- help \fR
88
103
.RS 4
89
- Prints usage synopsis.
104
+ Print usage synopsis.
90
105
.RE
91
106
.PP
92
107
\fB \-\- no-color \fR
@@ -103,12 +118,12 @@ locked dependencies will be installed. Commands will fail if dependencies in
103
118
.PP
104
119
\fB \- q, \-\- quiet \fR
105
120
.RS 4
106
- Decreases the log verbosity, printing only warnings and errors.
121
+ Decrease the log verbosity, printing only warnings and errors.
107
122
.RE
108
123
.PP
109
124
\fB \- v, \-\- verbose \fR
110
125
.RS 4
111
- Increases the log verbosity, printing all debug statements.
126
+ Increase the log verbosity, printing all debug statements.
112
127
.REAUTHOR
113
128
Written by Julien Portalier.
114
129
.SH "REPORTING BUGS"
0 commit comments