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.
Installation
Prerequisites
- Python 3.x installed
- npm installed (for Node.js projects)
- Git installed
Installation Steps
-
Clone the GitMen repository:
git clone https://github.com/lucasferreiralimax/gitmen.git cd gitmen
-
Install Python dependencies (if not installed):
pip install .
-
Make the script executable (if needed):
chmod +x gitmen.py
-
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 ?
你能谈谈这个项目吗?
- :ghost: @lucasferreiralimax
- :email: lucasferreiralimax@gmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gitmen-0.4.1.tar.gz
.
File metadata
- Download URL: gitmen-0.4.1.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19a109a4ffd9e30351a5028e396e808641a35e446bc546faa90eb8dfd2bf0e52 |
|
MD5 | 1ead8c36143e955f110c398ca8293a13 |
|
BLAKE2b-256 | a2a4f9531d3c067c176af146dfe91ea47a9c81a77f8a58a8eea0bdac166db73a |
File details
Details for the file gitmen-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: gitmen-0.4.1-py3-none-any.whl
- Upload date:
- Size: 25.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 040e491d4cd8198445892cf75d436a42f3dec216e9d0c6f1b95419f1be72ae3a |
|
MD5 | ae76779051e361c164b20ced6a2f387d |
|
BLAKE2b-256 | 5fd74468d9f1fd6569800b9f15329fcac8dbe185da06411e92239282d4de1f98 |