| author | |
| committer | |
| log | 3d495960995655761c76ea6ada0d772af7d1d4e0 |
| tree | 510618dce9e6f5621c24c59cd5df18a6fac5d8f7 |
| parent | 90cb4cc5acf8f281649ee7c305e73a2bafc68503 |
2 files changed, 3 insertions(+), 1 deletions(-)
README.md+2| ... | ... | @@ -42,6 +42,7 @@ zigmod init [name] [entry_file] |
| 42 | 42 | - `[entry_file]` defaults to `src/main.zig` |
| 43 | 43 | - This command will create a `zig.mod` file in the root of your project. It is in yaml syntax. |
| 44 | 44 | |
| 45 | <!-- | |
| 45 | 46 | ### `add` command |
| 46 | 47 | ``` |
| 47 | 48 | zigmod add <type> <path> |
| ... | ... | @@ -49,6 +50,7 @@ zigmod add <type> <path> |
| 49 | 50 | |
| 50 | 51 | - `<type>` is the type of package we're adding. |
| 51 | 52 | - `<path>` is the URL to the package you'd like to include. |
| 53 | --> | |
| 52 | 54 | |
| 53 | 55 | #### Available types |
| 54 | 56 | - `git` |
src/main.zig+1-1| ... | ... | @@ -8,7 +8,7 @@ const u = @import("./util/index.zig"); |
| 8 | 8 | |
| 9 | 9 | const commands = struct { |
| 10 | 10 | const init = @import("./cmd_init.zig"); |
| 11 | const add = @import("./cmd_add.zig"); | |
| 11 | // const add = @import("./cmd_add.zig"); | |
| 12 | 12 | const fetch = @import("./cmd_fetch.zig"); |
| 13 | 13 | }; |
| 14 | 14 |