@@ -91,21 +91,21 @@ def main():
9191 logger .error ("Invalid choice" )
9292
9393 # Git operations
94- commit_paths = input ("Enter commit paths: " ).strip ()
95- if not commit_paths :
96- raise ValueError ("Please specify at least one file to commit" )
94+ # commit_paths = input("Enter commit paths: ").strip()
95+ # if not commit_paths:
96+ # raise ValueError("Please specify at least one file to commit")
9797
98- commit_message = input ("Enter commit message: " ).strip ()
99- if not commit_message :
100- raise ValueError ("Commit message cannot be empty" )
98+ # commit_message = input("Enter commit message: ").strip()
99+ # if not commit_message:
100+ # raise ValueError("Commit message cannot be empty")
101101
102- # Stage files
103- logger .info (f"Staging files: { commit_paths } " )
104- subprocess .run (["git" , "add" ] + commit_paths .split (), check = True )
102+ # # Stage files
103+ # logger.info(f"Staging files: {commit_paths}")
104+ # subprocess.run(["git", "add"] + commit_paths.split(), check=True)
105105
106- # Commit changes
107- logger .info (f"Committing with message: \" { commit_message } \" " )
108- subprocess .run (["git" , "commit" , "-m" , commit_message ], check = True )
106+ # # Commit changes
107+ # logger.info(f"Committing with message: \"{commit_message}\"")
108+ # subprocess.run(["git", "commit", "-m", commit_message], check=True)
109109
110110 # Push changes
111111 logger .info ("Pushing to origin/main..." )
0 commit comments