selproj

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README

selproj

A tool to select an empty project's suffix from a list of projects using a prefix.

Usage

go run main.go

The tool requires the following environment variables to be set:

  • AIVEN_TOKEN - Aiven authentication token
  • AIVEN_PROJECT_NAME_PREFIX - A prefix to filter projects by

Example

$ AIVEN_TOKEN=... AIVEN_PROJECT_NAME_PREFIX=test go run -tags tools .
test-project-2

Development

There are no dependencies besides Go itself.

Testing

Run the following command in the root of the repository to run the tests:

task test-selproj

Documentation

Overview

Package main is the main package of the selproj tool.

Package main is the main package of the selproj tool.

Package main is the main package of the selproj tool.

Package main is the main package of the selproj tool.

Jump to

Keyboard shortcuts

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