• Stars
    star
    201
  • Rank 188,178 (Top 4 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 4 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ProjectMan is a command line tool to easily save/open your favorite projects right from command line. `pm add` to add projects and `pm open` to open them from anywhere you want🦸

ProjectMan🦸




npm npm bundle size

ProjectMan is a CLI which lets you add projects to favorites using command pm add and open them from anywhere you want using command pm open.

Along with this there are also other commands like pm seteditor, pm remove, cd $(pm getpath) mentioned in documentation below.


ProjectMan gif explaining how it works


Installation

With NodeJS installed in your machine,

npm install -g projectman

Commands

pm is an alias of projectman so you can use pm <command> or projectman <command>

πŸ“– Open Project

Opens project in your code editor (Check out pm seteditor command to set your preferred editor)

Usage :

pm open [projectName]

[projectName] is an optional parameter.

Alias: pm o, pm

βž• Add Project or Template

Add project to favorites

cd /till/the/project
pm add

You can pass --url param to add a URL instead of a directory.

πŸͺ„ Create Project

Use added projects as a template to create new project

pm create

Alias: pm c

πŸ’« Set Editor

pm seteditor

Sets default editor to open projects from.

To set a different editor for a specific project,

Flag: --for-project

pm seteditor --for-project

Sets different editor for a specific project. E.g You can use VSCode for other projects and Atom for CoolProject1

If your TextEditor/IDE is not listed, You can select option Other from the list and give your editorCommand. Read editorCommand ref for more information.

πŸƒπŸ½ cd to a project without opening.

cd $(pm getpath [projectName])

[projectName] is an optional parameter.

Alias : cd $(pm gp)

(Note: This does not work in Windows cmd, You can use it in Windows Powershell)

❌ Remove Project

pm remove

Removes project from favorites.

βž– Remove editor

pm rmeditor

Shows list of project and removes the project specific editor from the project.

pm rmeditor --all

removes all project specific editors.


βš™οΈ Settings.json

If you want to sort projects/change name of project/change path, You can type pm edit to open settings.json

Example settings:

{
    "commandToOpen": "code",
    "projects": [
        {
            "name": "Project1",
            "path": "path/to/project1"
        },
        {
            "name": "Project2",
            "path": "path/to/project2",
            "editor": "atom"
        },
        {
            "name": "Project3",
            "path": "path/to/project3"
        }
    ]
}

This will show three projects in pm open and project2 will be opened in Atom and other projects will be opened in Visual Studio Code

Settings Ref:

> commandToOpen :

  • This is your editor's command, this command will be used to open the file in your editor.
  • Default is code which opens in vscode.
  • This is the command that you normally use to open directories in your editor.
Editor 'commandToOpen' value
VSCode code
Atom atom
Sublime subl
Vim vim
WebStorm wstorm

> projects.name :

  • This is the name that will be visible when you type projectman open

> projects.path :

  • This should be the absolute path to your folder.

> projects.editor :

  • This is optional key. In case it doesn't exist it will read value from commandToOpen
  • You can use this to specify separate editor for a particular project.
  • You can set it by adding "editor": "<commandToOpen>" in projects array in settings.json (Example is shown above)

ChangeLogs

v2.0.0 @latest

  • Add pm create command
  • Remove support for binaries

For More Changes read CHANGELOG.md


Rust Port

@hskang9 has made a pretty cool rust port for projectman. You can check it out at: https://github.com/hskang9/projectman-rust


Contributing to ProjectMan

contributions welcome to projectman

I would be extremely happy to have people contribute to ProjectMan. You can read Contribution guidelines in CONTRIBUTING.md


Thank you for showing Interest! Do contribute and star ProjectMan🦸 on GitHub

More Repositories

1

text-to-handwriting

So your teacher asked you to upload written assignments? Hate writing assigments? This tool will help you convert your text to handwriting xD
HTML
4,596
star
2

DEV-widget

Unofficial Widget/profile card for https://dev.to/
JavaScript
95
star
3

typescript-run

Run TypeScript files at lightning speed ⚑️ esbuild ftw! [deprecated]
JavaScript
52
star
4

pwainit

Turn your existing website to Progressive Web App or Initiate PWA project using single command!!. 'npm i -g pwainit' to install pwainit and get started πŸš€
JavaScript
45
star
5

visconf

Generate an animated version of presentation from slides and transcript!
JavaScript
33
star
6

vscode-terminal-manager

VSCode Extension to manage Terminals. Lets you add multiple optional terminals and easily switch through them. πŸŽ‰
JavaScript
30
star
7

cli-testing-tool

Testing library for cli commands
JavaScript
24
star
8

vscode-integrated-stackoverflow

Get stackoverflow answers right into your text editor and search for your error solutions easily.
TypeScript
15
star
9

blep

A programming language to create variables with boop and print them with bark.
JavaScript
14
star
10

vite-plugin-md-to-html

Vite plugin to convert markdown to HTML with build-time syntax highlighting, image path resolution, and preset configurations
TypeScript
14
star
11

github-profile-card

Unofficial Github profile card made using github api
JavaScript
13
star
12

vscode-calvera-dark

Dark Blue Theme for VSCode.
HTML
12
star
13

cross-platform-tools

Build cross-platform libraries from single codebase πŸ’ͺ🏼
TypeScript
10
star
14

import-ls

WIP! Build import tree of a JavaScript project
JavaScript
9
star
15

no-earth-b

A website with a collection of all the data related to Air Quality and Climate Change
CSS
7
star
16

vite-plugin-jsx-to-html

Vite plugin to turn JSX components (with `.page.tsx` extension) into HTML strings
TypeScript
6
star
17

saurabhdaware

README for Profile :D
6
star
18

blog.saurabhdaware.in

[WIP] blog
TypeScript
5
star
19

tailwind-with-abell

Abell example with Tailwind v2
CSS
5
star
20

pwainit-node-pushapi

Push API backend code along with the instructions to generate and use VAPID keys.
JavaScript
4
star
21

abell-pages-action

Just playing around GitHub Actions
JavaScript
4
star
22

vite-plugin-mdx-to-html

Vite Plugin to turn MDX into HTML string
TypeScript
4
star
23

razorpay-payment-gateway-node

Razorpay Payment Gateway Checkout Integration with Node.js
HTML
3
star
24

bol

Slightly more consistent Text-to-speech for Web and a wrapper around speechSynthesis
JavaScript
3
star
25

login-page-MEAN-stack

Simple Login page made with MEAN stack
TypeScript
3
star
26

abell-sitemap-plugin

A plugin for Abell (https://abelljs.org) that builds sitemap
JavaScript
3
star
27

abell-example-blog

CSS
3
star
28

vite-ssr-react-ts

typescript react example with vite 3
JavaScript
2
star
29

abell-dev-source-blog

EXPERIMENTAL, Abell blog with DEV.to as source πŸ₯³
JavaScript
2
star
30

npm-version-bot

[WIP] Version the master changes, add changelog
JavaScript
2
star
31

pwa-workshop-example

HTML
2
star
32

abell-partial-hydration-react-experiment

Partial Hydration in Abell using React (Experimental)
TypeScript
2
star
33

jest-fs-mock

Mock Node's fs module without creating files in your filesystem.
JavaScript
2
star
34

project-ideas

An exhaustive list of interesting project ideas
2
star
35

vanilla-webgl-example

Go through the commits of this repository for step by step process to learn vanilla webgl
JavaScript
2
star
36

rusty-hello-world

First Rust project
Rust
2
star
37

Team_Tec-Enroot

Smart Traffic Signal
HTML
2
star
38

vite-ssr-example

Vite SSR with vanilla JavaScript
JavaScript
2
star
39

pwa-test

HTML
1
star
40

abell-vite-experiment

A tiny abell created on top of vite
JavaScript
1
star
41

abell-source-devto

EXPERIMENTAL dev.to source plugin for Abell
JavaScript
1
star
42

saurabhdaware.github.io

JavaScript
1
star
43

stormV2

Solar System Simulator to find planet positions at a particular date
TypeScript
1
star
44

abell-solid-ssg-example

Solidjs SSG with Hydration using Abell
TypeScript
1
star
45

visconf-example

1
star
46

abell-as-vite-plugin-experiment

abell's renderer as a vite plugin
JavaScript
1
star
47

vite-290-inlined-css-bug-replication

Created with StackBlitz ⚑️
JavaScript
1
star
48

use-github-action

Example of using the github action that I created
1
star
49

abell-ssr-express

Using .abell templates on server with express
JavaScript
1
star
50

vite-ssr-react-islands-experiment

Playing around to see if I can get islands architecture purely in react
JavaScript
1
star
51

storm

A rocket simulator for learning rocket science and astrodynamics
CSS
1
star
52

next-example-temp

JavaScript
1
star
53

vue-extra

Ready made VueJS components to import directly into your VueJS app. Make websites without writing HTML/CSS! just some JSON configurations and you're done πŸŽ‰
Vue
1
star
54

martian-gallery

Image gallery of raw images returned by curiosity mars rover
JavaScript
1
star
55

desktop-mobile-site

TypeScript
1
star
56

react-india-2023-slides

Slides for my React India Talk
CSS
1
star
57

react-rn-app

Cross Platform App using Expo for React Native and Vite for Web
TypeScript
1
star