A CLI tool to edit dinit service files with ease
0
fork

Configure Feed

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

Zig 59.6%
Go 40.4%
9 1 0

Clone this repository

https://tangled.org/1a-insec.net/dinit-edit https://tangled.org/did:plc:73xkqje76lj5tostbsqa74b7/dinit-edit
git@tangled.org:1a-insec.net/dinit-edit git@tangled.org:did:plc:73xkqje76lj5tostbsqa74b7/dinit-edit

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

Download tar.gz
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.