Skip to content

Playbooks for g

Story-style workflows—solo, team, and on-call. Jump into the full Use cases page anytime.

commands::workflow

Git workflow management commands.

auto-generated This page is built from //! comments in the Rust source. Edit the source and run npm run docs:extract to update it.

Git workflow management commands.

Overview

This module implements customizable git workflows, allowing users to define and use branching strategies like Git Flow, GitHub Flow, trunk-based, or create their own custom workflows.

Folder layout

workflow/
  mod.rs        <- this file: dispatch() + module wiring
  shared.rs     <- cross-subcommand helpers (load workflow, resolve branch type, etc.)
  hooks.rs      <- hook execution engine
  start.rs      <- `g workflow start <type> <name>`
  finish.rs     <- `g workflow finish`
  sync.rs       <- `g workflow sync`
  publish.rs    <- `g workflow publish`
  status.rs     <- `g workflow status`
  list.rs       <- `g workflow list`
  info.rs       <- `g workflow info <name>`
  use_cmd.rs    <- `g workflow use <name>`
  create.rs     <- `g workflow create`
  edit.rs       <- `g workflow edit`
  init.rs       <- `g workflow init`
  validate.rs   <- `g workflow validate`
  clone.rs      <- `g workflow clone`
  export.rs     <- `g workflow export`
  import.rs     <- `g workflow import`

Source: src/commands/workflow/mod.rs