cmd

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package cmd defines the main command line interface entry-points.

See summon -h:

summon main command

Usage:
  summon [file to summon] [flags]
  summon [command]

Available Commands:
  completion  Output bash completion script
  help        Help about any command
  ls          List all summonables
  run         Launch executable from summonables

Flags:
  -a, --all                restitute all data
  -h, --help               help for summon
      --json string        json to use to render template
      --json-file string   json file to use to render template, with '-' for stdin
  -o, --out string         destination directory, or '-' for stdout (default ".summoned")
      --raw                output without any template rendering
  -v, --version            output data version info and exit

Use "summon [command] --help" for more information about a command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRootCmd added in v0.8.0

func CreateRootCmd(driver *summon.Driver, args []string, options summon.MainOptions) (*cobra.Command, error)

CreateRootCmd creates the root command

Types

This section is empty.

Jump to

Keyboard shortcuts

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