mckernant1 / project-manager

CLI for git repo and project management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Manager

This is a git repo manager

Install

Install via homebrew

brew tap mckernant1/tools
brew install project-manager

Commands

clone - clones a repo to the default directory

pm clone git@github.com:mckernant1/project-manager.git

pull - pulls all repos, or a specific repo if specified

pm pull project-manager

list - lists all repos listed in the settings file

pm list

status - displays status of all repos or specific repo if specified

pm status project-manager

add - adds an existing repo to the settings file by path

pm add .

rm - removes a directory from the settings file

pm rm project-manager
pm rm -d project_manager # also deletes the directory

Todo

  • add a rename command

Settings File Structure

Location: ($HOME/.pm.json)
{
  // Defaults to $HOME/Desktop
  defaultDir: "/Users/tmckernan/Desktop",
  repos: [
    {
      name: "", // defaults to folder name
      path: ""
    } 
  ]

}

About

CLI for git repo and project management


Languages

Language:Rust 71.6%Language:Shell 28.4%