goss-org / goss-org/goss

Add title to "add" & "autoadd" commands

Open
#449 3 comments 1 reaction 0 assignees View on GitHub
approved enhancement
Dominant language
Go
Stars
6k
Forks
501
Avg merge
1d 20h
Merged PRs (30d)
10

Description

I have a scenario where I parse a config ini file and then generate calls to goss. It would be helpful if there was a way to invoke goss and have the title written to the goss.yaml file in a way similar to this:

```
./goss -g online.yaml a --title 'Service.ini: ldap service address for Server' addr ldap:389
```

Contributor guide

Open the contributing guide

Research direction

Start by locating the CLI entry points for the `add` and `autoadd` commands and how they write `goss.yaml`. Trace how command-line options are parsed and how generated resources are serialized. Done means both commands accept `--title` and persist the supplied title in the generated goss.yaml output.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.