npm

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package npm implements the "npm" subcommand.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*root.Config

	Name       string
	Org        string
	Artifacts  []string
	Version    string
	Summary    string
	License    string
	Tag        string
	Provenance bool
	Repository string
	ReadmePath string
	NoReadme   bool

	Flags   *ff.FlagSet
	Command *ff.Command
}

Config holds the configuration for the npm subcommand.

func New

func New(parent *root.Config) *Config

New creates and registers the npm subcommand with the given parent config.

Jump to

Keyboard shortcuts

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