influxdata / influxdata/influx-cli

[2.0] Improve "influx template validate"

Open
#74 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
75
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Proposal:
Add a message to "influx template validate" confirming that validation succeeded.

Current behavior:
❯ influx template validate -f https://raw.githubusercontent.com/influxdata/community-templates/master/linux_system/linux_system.yml

Desired behavior:
A message like "Template is valid" when validation succeeded.

Alternatives considered:
❯ echo $?
0

Use case:
It's difficult to understand if the command failed or not without any message.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the `influx template validate` command and reproduce it using the template URL shown in the issue. Add confirmation that validation succeeded, then rerun the command to verify that a successful validation prints a clear message instead of returning silently.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.