All Projects → saurabhdaware → Projectman

saurabhdaware / Projectman

Licence: mit
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🦸

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Projectman

Quickfix
The best stupid idea for fixing problems in node modules.
Stars: ✭ 267 (+55.23%)
Mutual labels:  command-line-tool, npm
Npq
🎖safely* install packages with npm or yarn by auditing them as part of your install process
Stars: ✭ 513 (+198.26%)
Mutual labels:  command-line-tool, npm
Catage
Node package and CLI tool to convert code into an image with syntax highlighting
Stars: ✭ 44 (-74.42%)
Mutual labels:  command-line-tool, npm
Receivemidi
Multi-platform command-line tool to monitor and receive MIDI messages
Stars: ✭ 164 (-4.65%)
Mutual labels:  command-line-tool
Coingecko Api
A Node.js wrapper for the CoinGecko API with no dependencies.
Stars: ✭ 159 (-7.56%)
Mutual labels:  npm
Vue Backtotop
A Back-to-top component for Vue.js, which scroll page to the top when clicked
Stars: ✭ 168 (-2.33%)
Mutual labels:  npm
Nrm
NPM registry manager, fast switch between different registries: npm, cnpm, nj, taobao
Stars: ✭ 2,178 (+1166.28%)
Mutual labels:  npm
Pinst
🍺 dev only postinstall hooks (package.json)
Stars: ✭ 162 (-5.81%)
Mutual labels:  npm
Mongotail
Command line tool to log all MongoDB queries in a "tail"able way
Stars: ✭ 169 (-1.74%)
Mutual labels:  command-line-tool
Bolt
⚡️ Super-powered JavaScript project management
Stars: ✭ 2,134 (+1140.7%)
Mutual labels:  npm
Reactopt
A CLI React performance optimization tool that identifies potential unnecessary re-rendering
Stars: ✭ 1,975 (+1048.26%)
Mutual labels:  npm
Kitsu
🦊 A simple, lightweight & framework agnostic JSON:API client
Stars: ✭ 166 (-3.49%)
Mutual labels:  npm
Partyline
Output to Laravel's console from outside of your Command classes.
Stars: ✭ 168 (-2.33%)
Mutual labels:  command-line-tool
Clean Publish
Removing configuration files and fields in package.json before publishing to npm
Stars: ✭ 165 (-4.07%)
Mutual labels:  npm
Fast Cli
Test your download and upload speed using fast.com
Stars: ✭ 2,178 (+1166.28%)
Mutual labels:  command-line-tool
React D3 Speedometer
✨ ⚛️ React Speedometer component using d3.js 🌈 🎨
Stars: ✭ 162 (-5.81%)
Mutual labels:  npm
Lite Editor
A Modern WYSIWYG Editor especially for inline elements
Stars: ✭ 169 (-1.74%)
Mutual labels:  npm
Astpath
A command-line search utility for Python ASTs using XPath syntax.
Stars: ✭ 167 (-2.91%)
Mutual labels:  command-line-tool
Jira Cli
A jira user friendly command line client
Stars: ✭ 167 (-2.91%)
Mutual labels:  npm
Cash Cli
💰💰 Convert currency rates directly from your terminal!
Stars: ✭ 168 (-2.33%)
Mutual labels:  npm

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

## Using NPM

If you have NodeJS installed in your machine

npm install -g projectman

OR

## Download Binaries

Download button for windows Download button for Linux Download button for MACOS


# Commands

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

## Open Project

Usage :

pm open [projectName]

[projectName] is an optional parameter.

Alias: pm o, pm

v1.3.0 onwards, after typing pm open you can start typing letters and it will autocomplete the project name.

## Add project

cd /till/the/project
pm add

## Add URL

Added in v1.3.0.

pm add --url

This command can be used to save your repositories/websites/any other important links. These links will show up in normal pm open with (URL) appended to their name.

## Set Editor

pm seteditor

Sets default editor to open projects from.

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

v1.3.3 [LATEST RELEASE]

Command suggestions added (Thanks @jamesgeorge007 for #PR32)

. . . 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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].