commands

package
v0.0.0-...-bc02ef2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Conf

func Conf(cmd *cobra.Command, args []string)

List (`teflon conf`) manipulates the config dir.

func Contract

func Contract(cmd *cobra.Command, args []string)

CLIGet is the command line wrapper around the Teflon API's Get function.

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func Get

func Get(cmd *cobra.Command, args []string)

CLIGet is the command line wrapper around the Teflon API's Get function.

func InitConf

func InitConf(cmd *cobra.Command, args []string)

func Move

func Move(cmd *cobra.Command, args []string)

func New

func New(cmd *cobra.Command, args []string)

Creates new teflon object and triggers new event.

func RootRun

func RootRun(cmd *cobra.Command, args []string)

Without arguments the `teflon` command prints the help message.

func Set

func Set(cmd *cobra.Command, args []string)

Set() or `teflon set` sets and/or deletes metadata entries into the UserSection of the TeflonObject and writes the changes to disk.

Types

This section is empty.

Jump to

Keyboard shortcuts

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