Skip to content

Groot is a development tool to initialize repo, add files and add commits

Notifications You must be signed in to change notification settings

gyrodope69/Groot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Groot

Overview

Code in groot.mjs

The groot.mjs file contains the main logic for the Groot project. It includes the following key components:

  • Initialization: Sets up the necessary configurations and dependencies.
    • Loads environment variables.
    • Configures logging and error handling.
  • Exported Modules: Exports the main functions and classes for use in other parts of the project.
    • init(): Initializes the project.
    • add(file): Adds a file to the staging area.
    • commit(message): Commits the staged changes with a message.
    • log(): Displays the commit history.
    • show(commitHash): Shows the differences for a specific commit.

Usage

To run the project, use the following command:

node groot.mjs

Ensure that all dependencies are installed and the environment variables are properly configured before running the project.

Commands

  • Initialize the repository:

    node groot.mjs init
  • Add a file to the staging area:

    node groot.mjs add <file>
  • Commit the staged changes:

    node groot.mjs commit <message>
  • View the commit history:

    node groot.mjs log
  • Show the differences for a specific commit:

    node groot.mjs show <commitHash>

About

Groot is a development tool to initialize repo, add files and add commits

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published