pro
github.com/hecticjeff/procfile
go get github.com/hecticjeff/procfile
pro

github.com/hecticjeff/procfile

Parse Procfiles in go without yaml

by Chris Mytton

v1.0.0 (see all)
go get github.com/hecticjeff/procfile
Readme

procfile

A go package for parsing Procfile entries.

Install

go get github.com/chrismytton/procfile

Usage

package main

import (
    "fmt"
    "github.com/chrismytton/procfile"
)

func main() {
    proclist := procfile.Parse("web: bundle exec rackup\nworker: rake resque:work")
    for name, process := range proclist {
        fmt.Println(name, "command", process.Command)
        fmt.Println(name, "arguments", process.Arguments)
    }
}

Copyright (c) Chris Mytton

GitHub Stars

12

LAST COMMIT

2yrs ago

MAINTAINERS

0

CONTRIBUTORS

2

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
v0.0.1
1yr ago
v1.0.1-0.20200222171156-5ad9024abd3c
1yr ago
v1.0.0
1yr ago
No alternatives found
No tutorials found
Add a tutorial