diff --git a/docs/commands/zpm.md b/docs/commands/zpm.md index f4dde084a4becf2c6f31ecdc8290e3fbaf1c76ab..1e2b6e9aabc8372180b2d9c41ebb192f7e141c37 100644 --- a/docs/commands/zpm.md +++ b/docs/commands/zpm.md @@ -9,3 +9,6 @@ The default remote is https://zpm.random-projects.net/. The subcommands available are: - [`add`](zpm_add.md) +- [`search`](zpm_search.md) +- [`tags`](zpm_tags.md) +- [`showjson`](zpm_showjson.md) diff --git a/docs/commands/zpm_search.md b/docs/commands/zpm_search.md new file mode 100644 index 0000000000000000000000000000000000000000..b6d9a958421cfc1f647a51963bbd20a0edafbac2 --- /dev/null +++ b/docs/commands/zpm_search.md @@ -0,0 +1,19 @@ +## `zpm search` command +``` +zigmod zpm search +``` + +Use this subcommand to print the available packages on ZPM servers. + +Example output below. `......` is used to redact long output. + +``` +NAME AUTHOR DESCRIPTION +sdl xq Wraps SDL2 into a nice and cozy zig-style API. +luf Luukdegram Statically typed, embeddable, scripting language written in Zig. +lscolors joachimschmidt557 A zig library for colorizing paths according to LS_COLORS +...... +zig-pixman Isaac Freund zig bindings for pixman +zalgebra Alexandre ChĂȘne (kooparse) Linear algebra library for games and computer graphics. +zigimg mlarouche A work in progress library to create, process, read and write different image formats +``` diff --git a/docs/commands/zpm_showjson.md b/docs/commands/zpm_showjson.md new file mode 100644 index 0000000000000000000000000000000000000000..1afce9fbf362dd53367d3d24fdbb571dbdc1aa6a --- /dev/null +++ b/docs/commands/zpm_showjson.md @@ -0,0 +1,8 @@ +## `zpm showjson` command +``` +zigmod zpm showjson +``` + +This is a meta command for obtaining raw json from ZPM servers and ideally paired with [`jq`](https://stedolan.github.io/jq/). + +Good values for `` include `"tags"` and `"packages"`. diff --git a/docs/commands/zpm_tags.md b/docs/commands/zpm_tags.md new file mode 100644 index 0000000000000000000000000000000000000000..baf1d2a0e49d77e0955ed4dc04011dc450e2406d --- /dev/null +++ b/docs/commands/zpm_tags.md @@ -0,0 +1,19 @@ +## `zpm tags` command +``` +zigmod zpm tags +``` + +Use this subcommand to print the available tags on ZPM servers. + +Example output below. `......` is used to redact long output. + +``` +NAME DESCRIPTION +hardware Packages that deal with hardware abstraction. +networking Packages that are related to networking applications. +game Package that are related to game development. +...... +functional Contains functional programming constructs. +allocator Packages that are related to memory allocators. +terminal Packages that assist in dealing with terminal input, output, and user interfaces. +```