Skip to content

Tool for declaratively managing an Arch Linux system

Notifications You must be signed in to change notification settings

DevReaper0/declarch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeclArch

This is a work-in-progress tool for declaratively managing an Arch Linux system.

Currently, this repository contains only a parser and the framework for the CLI.

To try out the parser, ensure the Go programming language is installed, clone this repository, and run:

go build .
./declarch apply -c test.conf

You can find the test code in cmds/apply.go and the test data in test.conf and testb.conf (imported by test.conf).

If you don't want to run it yourself, the test's output would be:

2
[2]

2
[2]

3
[3]

3, green, blue
[3, green, blue red, green, blue]

2, green, blue
[2, green, blue]

3, 26, Warsaw
[3, 26, Warsaw Andrew, 21, Berlin Koichi, 18, Morioh]

There is also an example DeclArch configuration in config.conf.

About

Tool for declaratively managing an Arch Linux system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages