Skip to content

Commit

Permalink
Add Etcha docs
Browse files Browse the repository at this point in the history
  • Loading branch information
thequailman committed Mar 14, 2024
1 parent 00b8acd commit ed785fc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/cmdShowValue.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func cmdShowValue() cli.Command[*cfg] {
Run: func(ctx context.Context, args []string, f cli.Flags, c *cfg) errs.Err {
if _, ok := f.Value("c"); ok {
if v, ok := c.Values[args[1]]; ok {
logger.Raw(v.Comment)
logger.Raw(v.Comment + "\n")

return nil
}
Expand All @@ -43,7 +43,7 @@ func cmdShowValue() cli.Command[*cfg] {
}

if _, ok := f.Value("v"); ok {
logger.Raw(string(v))
logger.Raw(string(v) + "\n")

return nil
}
Expand Down
7 changes: 7 additions & 0 deletions hugo/content/docs/guides/integration/etcha.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
categories:
- guide
description: How to use Etcha with Rot
manualLink: https://etcha.dev/docs/guides/integrations/rot
title: Etcha
---

0 comments on commit ed785fc

Please sign in to comment.