0.1.0 • Published 3 months ago

repositories_utils v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

:trumpet: Overview

:question: Motivation

My primary motivation for developing this tool was to ensure that all my repositories are set up the way I want, everywhere, with minimal effort. A good example is being able to have everything quickly set up for me after formatting my PC.

:dart: Features

   ✔️ manage all your repositories with a simple configs json file (which follows this schema).    ✔️ shows a terminal menu to select option to perform;    ✔️ clone missing repositories into local machine;    ✔️ delete existing repositories that should not be present on the local machine.    ✔️ quickly open a repository by selecting from a list.

:warning: Requirements

In order to use this project in your computer, you need to have the following items:

  • npm: To install the package. Npm is installed alongside nodejs;
  • nodejs: To actually run the package.

:bulb: Usage

To setup this project in your computer, download it in this link or run the following commands:

# install the package
$ npm install repositories_utils -g

# setup the package with your configs
$ rpu -s "/path/to/your_configs_file.json"

# tip: you can use it on your terminal as: rpu, rp or repositories_utils

After setup the repositories_utils with your configs, you can use the following options:

Usage: repositories_utils [options]

🔄 sync and manage your git repositories effortlessly.

Options:
  -s, --setup <file>   setup your repositories configs file path
  -r, --remove         remove the repositories configs file
  -p, --pull_repos     clone missing repositories locally
  -pg, --purge_repos   purge repositories that should not exist locally
  -or, --open_repo     select repository to open
  -oc, --open_configs  open the configs file
  -h, --help           display help for command
  -V, --version        output the version number

or, if your prefer (as I do), simply run rpu and you can select the option you want!

:wrench: Development

Development setup

To setup this project in your computer, download it in this link or run the following commands:

# Clone this repository
$ git clone https://github.com/lucasvtiradentes/repositories_utils

# Go into the repository
$ cd repositories_utils

After download it, go to the project folder and run these commands:

# Install dependencies using npm
$ npm install

# Run the typescript code in development mode
$ npm run dev

If you want to contribute to the project, after you make the necessary changes, run these commands to check if everything is working fine:

# Compile the code into javascript
$ npm run build

# Run the compiled code in production mode
$ npm run start

Used technologies

This project uses the following thechnologies:

:books: About

License

This project is distributed under the terms of the MIT License Version 2.0. A complete version of the license is available in the LICENSE file in this repository. Any contribution made to this project will be licensed under the MIT License Version 2.0.

0.1.0

3 months ago

0.0.4

3 months ago

0.0.3

3 months ago

0.0.2

3 months ago