]> git.ipfire.org Git - pakfire.git/commit
cli: Create context before setting parsing the command line
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 16 Oct 2023 10:43:59 +0000 (10:43 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 16 Oct 2023 10:43:59 +0000 (10:43 +0000)
commitbfc9a02a5793cbf75243e2025e714b01aec0542a
tree026acf2ea85801b249ed97d402bd76ef906b63cc
parentbfed4a7fe70371aec0b433f24b84dfc5f790b22e
cli: Create context before setting parsing the command line

This way, we can configure the context directly instead of passing
arguments around too much.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/cli/lib/pakfire.c
src/cli/lib/pakfire.h
src/cli/pakfire-builder.c
src/cli/pakfire.c