Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetCmd = &cobra.Command{ Use: "get [id]", Short: "get a workflow", Example: "tink workflow get [id]", Deprecated: `This command is deprecated and it will change at some point. Please unset the environment variable TINK_CLI_VERSION and if you are doing some complex automation try using the following command: $ tink workflow get -o json [id] `, DisableFlagsInUseLine: true, Args: func(c *cobra.Command, args []string) error { if len(args) == 0 { return fmt.Errorf("%v requires an argument", c.UseLine()) } return validateID(args[0]) }, Run: func(c *cobra.Command, args []string) { for _, arg := range args { req := workflow.GetRequest{Id: arg} w, err := client.WorkflowClient.GetWorkflow(context.Background(), &req) if err != nil { log.Fatal(err) } fmt.Println(w.Data) } }, }
GetCmd represents the get subcommand for workflow command.
Functions ¶
func NewCreateCommand ¶ added in v0.5.0
func NewDataCommand ¶ added in v0.5.0
dataCmd represents the data subcommand for workflow command.
func NewDeleteOptions ¶ added in v0.5.0
func NewGetOptions ¶ added in v0.5.0
func NewListCommand ¶ added in v0.5.0
listCmd represents the list subcommand for workflow command.
func NewShowCommand ¶ added in v0.5.0
func NewStateCommand ¶ added in v0.5.0
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.