bash

package
v1.0.24 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BashExtractor

type BashExtractor struct {
	// contains filtered or unexported fields
}

BashExtractor extracts documentation from Bash scripts

func NewBashExtractor

func NewBashExtractor(runner site.CommandRunner) *BashExtractor

NewBashExtractor creates a new Bash documentation extractor

func (*BashExtractor) Extract

Extract generates documentation from Bash scripts

func (*BashExtractor) Language

func (b *BashExtractor) Language() extractors.Language

Language returns the language this extractor handles

func (*BashExtractor) Validate

func (b *BashExtractor) Validate(ctx context.Context) error

Validate checks if Bash is available.

Only a genuine lookup failure means bash is unavailable; a bash that is installed and exits non-zero is an extraction error, not a skip.

Jump to

Keyboard shortcuts

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