cmd

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

commands.go Contains cobra command definitions

Package cmd provides the command-line interface for icaljson.

icaljson is a Go implementation for working with iCalendar format (RFC 5545).

The command-line tool provides functionality to:

  • Generate JSON from iCal files with automatic type inference
  • Display version and build information

Command Reference

Generate json with default output path:

icaljson generate caledar.ics

Show version information:

icaljson version

Features

Metadata Generation:

  • Automatic data type inference from ICS file
  • Configurable output paths and validation options
  • Support for environment variable configuration

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "icaljson",
	Short: "iCalendar tools",
	Long: `A Go implementation for working with the iCalendar format.
iCalendar is a standardized way to describe calendar data using a text-based format.`,
	Version: version.Version,
}

Root cobra command. Call Init() once to initialize child commands. Global so it can be picked up by docs/doc-gen.go. nolint:gochecknoglobals

Functions

func Execute

func Execute()

func Init

func Init()

Call Once.

Types

This section is empty.

Jump to

Keyboard shortcuts

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