Skip to content

Latest commit

 

History

History
104 lines (77 loc) · 2.53 KB

git-mit-config.md

File metadata and controls

104 lines (77 loc) · 2.53 KB

git-mit-config

Generic usage

git-mit-config --help
A command for enabling and disabling git lints

Usage: git-mit-config [OPTIONS] [COMMAND]

Commands:
  lint        Manage active lints
  mit         Manage mit configuration
  relates-to  Manage relates-to settings
  help        Print this message or the help of the given subcommand(s)

Options:
      --completion <COMPLETION>  [possible values: bash, elvish, fish, powershell, zsh]
  -h, --help                     Print help
  -V, --version                  Print version
git-mit-config lint --help
Manage active lints

Usage: git-mit-config lint <COMMAND>

Commands:
  generate   Generate the config file for your current settings
  available  List the available lints
  enabled    List the enabled lints
  status     Get status of a lint
  enable     Enable a lint
  disable    Disable a lint
  help       Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help
git-mit-config mit --help
Manage mit configuration

Usage: git-mit-config mit <COMMAND>

Commands:
  set                      Update or add an initial in the mit configuration
  non-clean-behaviour      Get the current behaviour when the repository is mid-rebase or merge
  set-non-clean-behaviour  Set the current behaviour when the repository is mid-rebase or merge
  generate                 Generate a file version of available authors
  available                List available authors
  example                  Print example mit toml file
  help                     Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help
git-mit-config relates-to --help
Manage relates-to settings

Usage: git-mit-config relates-to <COMMAND>

Commands:
  template  Use a template for the relates-to trailer
  help      Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

You can generate completion with

git-mit-config --completion bash

Otherwise an error will be generated

git-mit-config
Error: git_mit_config::errors::unrecognised_lint_command

  × unrecognised subcommand
  help: try `git mit-config --help`