# Context: USER: add a basic node for this module like there is in image.py
18 lines
362 B
Python
18 lines
362 B
Python
"""
|
|
This module provides functions for interacting with Git.
|
|
|
|
Author: Your Name
|
|
"""
|
|
|
|
import subprocess
|
|
|
|
def check_git_status():
|
|
try:
|
|
output = subprocess.check_output(['git', 'status'])
|
|
print(output.decode('utf-8'))
|
|
except subprocess.CalledProcessError as e:
|
|
print(f"Error: {e}")
|
|
|
|
if __name__ == "__main__":
|
|
check_git_status()
|