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
This command adds a dependency to the current project.
13
+
This command adds a dependency to the current project. When no tag/branch/commit is specified, `origin/master` is assumed.
13
14
14
15
No cloning of dependencies, etc. takes place here unless `--update` is specified.
15
16
17
+
Any dependencies that are cloned (even branches) are in a detached-head state. This forces the same workflow to be used regardless of the checkout type.
18
+
16
19
## OPTIONS
17
20
18
-
*`--version` <semver>:
21
+
*`--tag` <semver>:
19
22
This option specifies that a semver tag or range should be checked out. Modulo treats semver as `breaking.feature.fix` since that is more meaningful to most.
20
23
21
24
Modulo's semver implementation follows the `npm` implementation very closely. To read more, visit:
Copy file name to clipboardExpand all lines: Documentation/modulo-init.1.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ This command initializes a project/directory for use with Modulo. A `.modulo` f
13
13
## OPTIONS
14
14
15
15
*`--app`:
16
-
Initializes modulo as an application. Any dependencies will be located in `.\modules` upon add/update.
16
+
Initializes modulo as an application. Any dependencies will be located in `.\modules` upon add/update. This option also adds an entry to SCM's ignore file to ignore the `modules` directory.
17
17
18
18
*`--module`:
19
19
Initializes modulo as an module. Any dependencies will be located in `..\` upon add/update.
Report bugs to the Github Project located at https://github\.com/modulo\-dm/modulo/\. You\'ll be able to see the status and track any issues you create\.
0 commit comments