cmd

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package cmd implements the paperless CLI's commands.

Index

Constants

View Source
const APIVersion = 9

APIVersion is the Paperless-NGX REST API version this CLI targets. A new major CLI version is released for each new API version.

Variables

View Source
var SkillMD string

SkillMD holds the SKILL.md contents bundled into the binary via go:embed in main.go, and set on cmd.SkillMD before Execute is called.

View Source
var Version = "dev"

Version is set at build time via -ldflags "-X github.com/stefanhoth/paperless-ngx-cli/cmd.Version=x.y.z"

Functions

func Execute

func Execute()

Execute runs the root command, exiting with status 1 on error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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