fun functions edit

Edit a function

Synopsis

This command edits the definition of a function. If a file is passed, the function definition is entirely overwritten with the contents of the file. Otherwise, current details are obtained and fields can be selectively edited through the terminal. The function name specified is the one locally associated with it. The context used is the one associated with the function, unless the context is passed through environment variables, or the –context option is explicitly specified.

fun functions edit [name] (path/to/input) [flags]

Options

      --context string   context (default "default")
  -h, --help             help for edit

Options inherited from parent commands

      --config string   config directory

SEE ALSO