Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lucasferreiralimax/gitmen
GitMen Manager
https://github.com/lucasferreiralimax/gitmen
hacketoberfest python
Last synced: 23 days ago
JSON representation
GitMen Manager
- Host: GitHub
- URL: https://github.com/lucasferreiralimax/gitmen
- Owner: lucasferreiralimax
- Created: 2024-06-22T04:33:46.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-10-05T07:55:14.000Z (3 months ago)
- Last Synced: 2024-11-29T23:09:10.231Z (about 1 month ago)
- Topics: hacketoberfest, python
- Language: Python
- Homepage:
- Size: 69.3 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://pypi.org/project/gitmen)
## Installation
### Prerequisites
- Python 3.x installed
- npm installed (for Node.js projects)
- Git installed### Installation Steps
1. **Install GitMen via pip** (recommended):
```bash
pip install gitmen
```2. **Clone the GitMen repository** (optional, if you want to modify the source code):
```bash
git clone https://github.com/lucasferreiralimax/gitmen.git
cd gitmen
```3. **Install Python dependencies** (if you cloned the repository):
```bash
pip install .
```4. **Make the script executable** (if needed):
```bash
chmod +x gitmen.py
```5. **Optionally, you can create a symbolic link to run `gitmen` from anywhere**:
```bash
ln -s /path/to/gitmen.py /usr/local/bin/gitmen
```## Usage
### Basic Commands
- **Update dependencies in a specific project directory:**
```bash
gitmen -u /path/to/project_directory
```- **Ignore specific dependencies during updates:**
```bash
gitmen -u /path/to/project_directory -i dependency1,dependency2
```- **Check outdated dependencies across all projects:**
```bash
gitmen -a
```- **Check Git status in all projects:**
```bash
gitmen -g
```- **Update dependencies using `npm-check-updates` and commit changes:**
```bash
gitmen -n /path/to/project_directory
```### Additional Commands
- **Run a custom script on a project:**
```bash
gitmen -s "custom script command"
```- **Run an Angular-specific update process:**
```bash
gitmen ng /path/to/project_directory
```- **Fix Expo project dependencies:**
```bash
gitmen expo /path/to/project_directory
```- **Specify the base directory where projects are located (default is `~/Documents`):**
```bash
gitmen -b /path/to/base_directory -u /path/to/project_directory
```- **Use a custom commit message when updating dependencies:**
```bash
gitmen -u /path/to/project_directory -m "your custom commit message"
```- **Use a custom commit message with `npm-check-updates`:**
```bash
gitmen -n /path/to/project_directory -m "your custom commit message"
```### Repository and GitHub Integration
- **Check GitHub repositories linked to your account:**
```bash
gitmen github
```- **Clone repositories from GitHub by username:**
```bash
gitmen clone username
```### Language and Version
- **Select the language for the CLI interface:**
```bash
gitmen language
```- **Display program version:**
```bash
gitmen -v
```- **Display help message:**
```bash
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](https://github.com/lucasferreiralimax)
- :email: [[email protected]](mailto:[email protected])
`