A CLI tool to edit dinit service files with ease
Zig 59.6%
Go 40.4%
9 1 0

Clone this repository

https://tangled.org/1a-insec.net/dinit-edit
git@tangled.org:1a-insec.net/dinit-edit

For self-hosted knots, clone URLs may differ based on your setup.

readme.md

Utility -- list all dinit service files

Please don't have space or other weird characters inside the service file path, since it's passed to sh -c '$EDITOR $service_file_path'.

Usage#

# list all
dinit-edit
# edit one
dinit-edit <service>

Buliding Go implementation#

ninja

Building Zig implementation#

ninja

Developed using Zig 0.14.1. Zig is not easy to read.

See build.ninja for how to build.