Skip to main content

mit_commit_message_lints/mit/cmd/
mod.rs

1//! Mit commands
2const CONFIG_KEY_EXPIRES: &str = "mit.author.expires";
3const CONFIG_KEY_ROTATION: &str = "mit.author.rotate";
4
5pub(crate) mod get_authors;
6pub(crate) mod get_commit_coauthor_configuration;
7pub(crate) mod set_commit_authors;
8pub(crate) mod set_config_authors;
9
10pub mod errors;
11pub mod get_config_non_clean_behaviour;
12
13/// Configuration for rotating primary author across commits
14///
15/// When rotation is enabled, the primary author (user.name/user.email)
16/// rotates among the configured authors with each commit.
17pub mod get_config_rotation;
18/// Rotate the primary author among configured authors
19pub mod rotate_authors;
20pub mod set_config_non_clean_behaviour;
21/// Configuration for rotating primary author across commits
22pub mod set_config_rotation;
23mod vcs;