package cmd // Top-level aliases for "actions run" and "actions workflow" — matches gh // CLI's ergonomics so users can type `fj run list` and `fj workflow list` // instead of `fj actions run list`. // // Both trees are built from the same factory functions defined in // `cmd/actions.go` (newRunCmd / newWorkflowCmd), which means flags and // help text are guaranteed identical between the two paths. Previously // this file rebuilt parallel trees by hand and silently drifted (the // `--json` Bool/string mismatch was the symptom that surfaced). func init() { rootCmd.AddCommand(newRunCmd(" (alias for 'actions run')")) rootCmd.AddCommand(newWorkflowCmd(" (alias for 'actions workflow')")) }