tokencmd

package
v3.0.0-...-86bc622 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package tokencmd implements the 'pinact token' command for secure GitHub token management. This package provides functionality to store and retrieve GitHub access tokens using the operating system's native credential storage (Windows Credential Manager, macOS Keychain, or GNOME Keyring). It offers a secure alternative to environment variables for managing authentication credentials, allowing users to persist tokens safely across sessions without exposing them in shell configurations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(logger *slogutil.Logger) *cli.Command

New creates a new token command for the CLI. It initializes a GitHub token management command using the system keyring for secure credential storage and retrieval. Returns a pointer to the configured CLI command for token operations.

Types

This section is empty.

Jump to

Keyboard shortcuts

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