export

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package export provides terminal output functions for the export command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InfoExistsWritingAsAlternative

func InfoExistsWritingAsAlternative(
	cmd *cobra.Command, path, alternative string,
)

InfoExistsWritingAsAlternative reports that a file already exists and the content is being written to an alternative filename instead.

Parameters:

  • cmd: Cobra command for output. Nil is a no-op.
  • path: the original target path that already exists.
  • alternative: the fallback path where content was written.

func Summary

func Summary(
	cmd *cobra.Command,
	newCount, regenCount, skipCount, lockedCount int,
	dryRun bool,
)

Summary prints what an export will (or would) do based on aggregate counters.

Parameters:

  • cmd: Cobra command for output. Nil is a no-op.
  • newCount: number of new files to export.
  • regenCount: number of existing files to regenerate.
  • skipCount: number of existing files to skip.
  • lockedCount: number of locked files to skip.
  • dryRun: when true, uses "Would" instead of "Will".

Types

This section is empty.

Jump to

Keyboard shortcuts

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