this repo has no description
56
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: add manpage

+58
+11
build.zig
··· 1 1 const std = @import("std"); 2 + const zzdoc = @import("zzdoc"); 2 3 3 4 /// Must be kept in sync with git tags 4 5 const version: std.SemanticVersion = .{ .major = 0, .minor = 1, .patch = 0 }; ··· 6 7 pub fn build(b: *std.Build) void { 7 8 const target = b.standardTargetOptions(.{}); 8 9 const optimize = b.standardOptimizeOption(.{}); 10 + 11 + // manpages 12 + { 13 + var man_step = zzdoc.addManpageStep(b, .{ 14 + .root_doc_dir = b.path("docs/"), 15 + }); 16 + 17 + const install_step = man_step.addInstallStep(.{}); 18 + b.default_step.dependOn(&install_step.step); 19 + } 9 20 10 21 const exe_mod = b.createModule(.{ 11 22 .root_source_file = b.path("src/main.zig"),
+4
build.zig.zon
··· 14 14 .url = "git+https://github.com/rockorager/zeit#4496d1c40b2223c22a1341e175fc2ecd94cc0de9", 15 15 .hash = "zeit-0.6.0-5I6bk1J1AgA13rteb6E0steXiOUKBYTzJZMMIuK9oEmb", 16 16 }, 17 + .zzdoc = .{ 18 + .url = "git+https://github.com/rockorager/zzdoc#57e86eb4e621bc4a96fbe0dd89ad0986db6d0483", 19 + .hash = "zzdoc-0.0.0-tzT1PuPZAACr1jIJxjTrdOsLbfXS6idWFGfTq0gwxJiv", 20 + }, 17 21 }, 18 22 .paths = .{ 19 23 "build.zig",
+42
docs/lsr.1.scd
··· 1 + lsr(1) 2 + 3 + # NAME 4 + 5 + lsr - list directory contents, but with io_uring 6 + 7 + # SYNOPSIS 8 + 9 + *lsr* [options...] [directory] 10 + 11 + # DESCRIPTION 12 + 13 + lsr is an implementation of ls(1) which utilizes io_uring to perform syscall 14 + batching. 15 + 16 + # OPTIONS 17 + 18 + *-1*, *--oneline* 19 + Print entries one per line 20 + *-a*, *--all* 21 + Show files that start with a dot (ASCII 0x2E) 22 + *-A*, *--almost-all* 23 + Like --all, but skips implicit "." and ".." directories 24 + *-C*, *--columns* 25 + Print the output in columns 26 + *--color=WHEN* 27 + When to use colors (always, auto, never) 28 + *--group-directories-first* 29 + When to use colors (always, auto, never) 30 + *--help* 31 + Print the version and exit. 32 + *--icons=WHEN* 33 + When to display icons (always, auto, never) 34 + *-l*, *--long* 35 + Display extended file metadata 36 + *--version* 37 + Print the version and exit. 38 + 39 + # AUTHORS 40 + 41 + Written and maintained by Tim Culverhouse <tim@timculverhouse.com>, assisted by 42 + open source contributors.
+1
src/main.zig
··· 11 11 \\ lsr [options] [directory] 12 12 \\ 13 13 \\ --help Print this message and exit 14 + \\ --version Print the version string 14 15 \\ 15 16 \\DISPLAY OPTIONS 16 17 \\ -1, --oneline Print entries one per line