Skip to content

mckernant1/project-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: ""
    } 
  ]

}