tarantool / tarantool/tt

Add basic option `--yaml` (integration with tvisor)

Open
#22 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Go
Stars
113
Forks
18
Avg merge
4d 11h
Merged PRs (30d)
23

Description

Add the basic option (--yaml) for tvisor.

Output format for each module:

tt:
   status: ok  # or error
   http:  200 # optional. default 200 for 0, 500 for not 0 exit code

   # the other results

example:

tt version --yaml
tt:
   status: ok
   version: 2.8.1

PS: Also the option can be set by ENV variable TVISORD=yaml[,theotheroptions]

if split(/\s*,\s*/, $ENV{TVISORD}) contains yaml, then the option have to be set on.

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 by locating the CLI option handling and module output paths, then inspect how the TVISORD environment variable is parsed. Done means --yaml and TVISORD=yaml enable the specified per-module YAML status, optional HTTP code, and other results.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.