1crate::ix!();
3
4#[derive(Debug, StructOpt)]
6pub enum GitSubcommand {
7 Commit,
9}
10
11impl GitSubcommand {
12 pub async fn run(&self) -> Result<(),WorkspaceError> {
13 todo!(
14 "This functionality is not implemented yet.
15 This command will scan the changes to be committed and partition them sets corresponding to their crate of origin.
16 Treating these sets in crate topology order, this command will use a language model to craft a maximally useful commit message for the set of changes, aware of the interface to the crate (via workspacer-consolidate).
17 The command will then apply the ai generated commits in playback/dependency order such that we can meaningfully scroll through our commit history and see what is going on at each step.
18 To help implement this functionality, please visit https://github.com/klebs6/klebs-general to submit a PR"
19 );
20 }
21}