2023-04-13 11:43:03 +02:00

24 lines
727 B
Go

package cmd
import (
"github.com/rsteube/carapace"
"github.com/spf13/cobra"
)
var stack_psCmd = &cobra.Command{
Use: "ps [OPTIONS] STACK",
Short: "List the tasks in the stack",
Run: func(cmd *cobra.Command, args []string) {},
}
func init() {
carapace.Gen(stack_psCmd).Standalone()
stack_psCmd.Flags().StringP("filter", "f", "", "Filter output based on conditions provided")
stack_psCmd.Flags().String("format", "", "Format output using a custom template:")
stack_psCmd.Flags().Bool("no-resolve", false, "Do not map IDs to Names")
stack_psCmd.Flags().Bool("no-trunc", false, "Do not truncate output")
stack_psCmd.Flags().BoolP("quiet", "q", false, "Only display task IDs")
stackCmd.AddCommand(stack_psCmd)
}