ci

command
v1.32.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2025 License: Apache-2.0, MIT Imports: 6 Imported by: 0

README

Lotus CI Tool

The Lotus CI Tool is a CLI (Command Line Interface) utility designed to facilitate interactions with the Lotus metadata. This tool allows users to retrieve version information in either JSON or text format which is required in the Lotus CI environment.

Features

  • List all test group execution contexts.
  • Get the metadata for a test group.

Installation

To install the Lotus CI Tool, you need to have Go installed on your system.

  1. Build the tool:
    go build -o ci ./cmd/ci
    

Usage

The ci tool provides several commands and options to interact with.

Commands
  • List Test Group Execution Contexts: List all test group execution contexts.
    ./ci list-test-group-execution-contexts
    
  • Get Test Group Metadata: Get the metadata for a test group.
    ./ci get-test-group-metadata --name "unit-cli"
    
Global Options
  • --json: Format output as JSON.
    ./ci --json
    

Examples

List all test group execution contexts with JSON formatted output:

./ci --json list-test-group-execution-contexts

Get the metadata for a test group with JSON formatted output:

./ci --json get-test-group-metadata --name "unit-cli"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL