org

package
v1.0.41998-pre Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package org provides shared logic for CircleCI organization operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

List fetches the organizations the authenticated user belongs to.

func ParseSlug

func ParseSlug(slug string) (vcs, orgName string, err error)

ParseSlug splits "gh/myorg" into its VCS and org components.

func Select

func Select(ctx context.Context, client *apiclient.Client) (string, error)

Select fetches the user's organizations and presents an interactive picker. With exactly one org it is auto-selected; with multiple the user picks.

Types

This section is empty.

Jump to

Keyboard shortcuts

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