Skip to main content

CLI tool for managing GitHub projects, updating dependencies, and checking project statuses.

Project description

GitMen

GitMen is a command-line tool designed to streamline dependency management and Git repository status checks across multiple projects.

For more information, you can visit the GitMen project page on PyPI

Installation

Prerequisites

  • Python 3.x installed
  • npm installed (for Node.js projects)
  • Git installed

Installation Steps

  1. Install GitMen via pip (recommended):

    pip install gitmen
    
  2. Clone the GitMen repository (optional, if you want to modify the source code):

    git clone https://github.com/lucasferreiralimax/gitmen.git
    cd gitmen
    
  3. Install Python dependencies (if you cloned the repository):

    pip install .
    
  4. Make the script executable (if needed):

    chmod +x gitmen.py
    
  5. Optionally, you can create a symbolic link to run gitmen from anywhere:

    ln -s /path/to/gitmen.py /usr/local/bin/gitmen
    

Usage

Basic Commands

  • Update dependencies in a specific project directory:

    gitmen -u /path/to/project_directory
    
  • Ignore specific dependencies during updates:

    gitmen -u /path/to/project_directory -i dependency1,dependency2
    
  • Check outdated dependencies across all projects:

    gitmen -a
    
  • Check Git status in all projects:

    gitmen -g
    
  • Update dependencies using npm-check-updates and commit changes:

    gitmen -n /path/to/project_directory
    

Additional Commands

  • Run a custom script on a project:

    gitmen -s "custom script command"
    
  • Run an Angular-specific update process:

    gitmen ng /path/to/project_directory
    
  • Fix Expo project dependencies:

    gitmen expo /path/to/project_directory
    
  • Specify the base directory where projects are located (default is ~/Documents):

    gitmen -b /path/to/base_directory -u /path/to/project_directory
    
  • Use a custom commit message when updating dependencies:

    gitmen -u /path/to/project_directory -m "your custom commit message"
    
  • Use a custom commit message with npm-check-updates:

    gitmen -n /path/to/project_directory -m "your custom commit message"
    

Repository and GitHub Integration

  • Check GitHub repositories linked to your account:

    gitmen github
    
  • Clone repositories from GitHub by username:

    gitmen clone username
    

Language and Version

  • Select the language for the CLI interface:

    gitmen language
    
  • Display program version:

    gitmen -v
    
  • Display help message:

    gitmen --help
    

Learn More

:performing_arts: Com quem você pode conversar sobre o projeto?

Who can you talk to about the project?

¿Con quién puedes hablar sobre el proyecto?

С кем вы можете поговорить о проекте?

誰がプロジェクトについて話すことができますか?

À qui pouvez-vous parler du projet?

Proje ile ilgili kiminle konuşabilirsin ?

你能谈谈这个项目吗?

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitmen-0.4.3.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gitmen-0.4.3-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

Details for the file gitmen-0.4.3.tar.gz.

File metadata

  • Download URL: gitmen-0.4.3.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for gitmen-0.4.3.tar.gz
Algorithm Hash digest
SHA256 498b5adcbdde023e4f9c98e2750903c61d6a488a00d2674dcd58140f0445b7bd
MD5 163505b5cb3dec9ee7ce6205d46096fc
BLAKE2b-256 490520d990972cb0f023ad61e16e3c6c30456425ec234c4bd8b70ce1ca508bb0

See more details on using hashes here.

File details

Details for the file gitmen-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: gitmen-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 25.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for gitmen-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b3ff67092686d8f0f4926f79caf07983ccc690a841648331500240eaf9fc3028
MD5 7feb66aeccfbda05ea96d46afda2cb56
BLAKE2b-256 44e06d52cb0bfb4f6f3b4adae24c719d92cb0c4a7d1c3be852ff28121fbd90b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page