casey / casey/hosts

Parse Hosts

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Hosts should actually parse the host file fragments in the config file. This will have the benefit that malformed config files will fail to parse and we can exit early with a good error message, instead of installing a bad config that won't work.

Host file grammar:

```
file := line*

line := record? comment? eol

record := address hostname alias*

hostname := HOST

alias := HOST

comment := /#.*/

eol := '\n'
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.