{"id":13433826,"url":"https://github.com/saurabhdaware/projectman","last_synced_at":"2025-04-06T17:12:55.699Z","repository":{"id":46564956,"uuid":"205642593","full_name":"saurabhdaware/projectman","owner":"saurabhdaware","description":"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🦸 ","archived":false,"fork":false,"pushed_at":"2024-02-29T17:20:57.000Z","size":44749,"stargazers_count":203,"open_issues_count":3,"forks_count":27,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-30T15:09:48.633Z","etag":null,"topics":["command-line-tool","javascript","node","nodejs","npm","project-manager","projectman","projects"],"latest_commit_sha":null,"homepage":"https://npmjs.org/package/projectman","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saurabhdaware.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-01T07:14:27.000Z","updated_at":"2025-01-22T18:16:17.000Z","dependencies_parsed_at":"2024-06-11T20:31:50.437Z","dependency_job_id":"9b0b758c-1353-47ec-b432-11d109965cba","html_url":"https://github.com/saurabhdaware/projectman","commit_stats":{"total_commits":118,"total_committers":6,"mean_commits":"19.666666666666668","dds":0.1610169491525424,"last_synced_commit":"90450c65961a375229f589a7d23e805168731242"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saurabhdaware%2Fprojectman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saurabhdaware%2Fprojectman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saurabhdaware%2Fprojectman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saurabhdaware%2Fprojectman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saurabhdaware","download_url":"https://codeload.github.com/saurabhdaware/projectman/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247517916,"owners_count":20951719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-line-tool","javascript","node","nodejs","npm","project-manager","projectman","projects"],"created_at":"2024-07-31T02:01:37.315Z","updated_at":"2025-04-06T17:12:55.677Z","avatar_url":"https://github.com/saurabhdaware.png","language":"JavaScript","readme":"# ProjectMan🦸\n\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e\n\n\u003cimg src=\"https://res.cloudinary.com/saurabhdaware/image/upload/v1570355296/npm/projectman/logo-192.png\"\u003e\n\u003cbr\u003e\u003cbr\u003e\n\u003ca href=\"https://www.npmjs.org/package/projectman\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/projectman?style=flat-square\u0026logo=npm\u0026label=npm\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.org/package/projectman\"\u003e\u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/dt/projectman?label=npm%20downloads\u0026style=flat-square\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.org/package/projectman\"\u003e\u003cimg alt=\"npm bundle size\" src=\"https://img.shields.io/bundlephobia/min/projectman?color=brightgreen\u0026label=package%20size\u0026style=flat-square\"\u003e\u003c/a\u003e\n\u003cbr\u003e\n\u003ca href=\"https://www.npmjs.org/package/projectman\"\u003e\u003cimg src=\"https://img.shields.io/badge/contributions-welcome-brightgreen?style=flat-square\u0026logo=github\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.org/package/projectman\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/projectman?color=success\u0026style=flat-square\"\u003e\u003c/a\u003e\n\n\n\u003cbr\u003e\n\u003ca href=\"https://www.npmjs.com/package/projectman\"\u003e\u003cimg src=\"https://nodei.co/npm/projectman.png?downloads=true\u0026downloadRank=true\u0026stars=true\"\u003e\u003c/a\u003e\n\n\u003c/p\u003e\n\nProjectMan 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`.\n\nAlong with this there are also other commands like `pm seteditor`, `pm remove`, `cd $(pm getpath)` mentioned in documentation below.\n\n---\n\u003cp align=\"center\"\u003e\u003cimg width=800 alt=\"ProjectMan gif explaining how it works\" src=\"https://res.cloudinary.com/saurabhdaware/image/upload/v1570355298/npm/projectman/terminal.gif\"\u003e\u003c/p\u003e\n\n---\n\n## Installation\n\nWith [NodeJS](https://nodejs.org) installed in your machine,\n```shell\nnpm install -g projectman\n```\n\n---\n\n## Commands\n`pm` is an alias of `projectman` so you can use `pm \u003ccommand\u003e` or `projectman \u003ccommand\u003e`\n\n### 📖 Open Project\n\nOpens project in your code editor (Check out [`pm seteditor`](#set-editor) command to set your preferred editor)\n\n**Usage :** \n```shell\npm open [projectName]\n```\n`[projectName]` is an optional parameter.\n\n**Alias:** `pm o`, `pm`\n\n### ➕ Add Project or Template\n\nAdd project to favorites\n\n```shell\ncd /till/the/project\npm add\n```\n\n*You can pass `--url` param to add a URL instead of a directory.*\n\n### 🪄 Create Project\n\nUse added projects as a template to create new project\n\n```shell\npm create\n```\n\n**Alias:** `pm c`\n\n### 💫 Set Editor\n\n```shell\npm seteditor\n```\nSets default editor to open projects from.\n\nTo set a different editor for a specific project,\n\n**Flag:** `--for-project`\n```shell\npm seteditor --for-project\n```\nSets different editor for a specific project.\nE.g You can use VSCode for other projects and Atom for `CoolProject1`\n\nIf your TextEditor/IDE is not listed, You can select option `Other` from the list and give your `editorCommand`.\nRead [editorCommand ref](#settings-ref) for more information.\n\n\n### 🏃🏽 `cd` to a project without opening.\n```shell\ncd $(pm getpath [projectName])\n```\n\n`[projectName]` is an optional parameter.\n\n**Alias :** `cd $(pm gp)`\n\n(Note: This does not work in Windows cmd, You can use it in Windows Powershell)\n\n### ❌ Remove Project\n```shell\npm remove\n```\nRemoves project from favorites.\n\n### ➖ Remove editor\n```shell\npm rmeditor\n```\nShows list of project and removes the project specific editor from the project.\n\n```shell\npm rmeditor --all\n```\nremoves all project specific editors.\n\n---\n\n## ⚙️ Settings.json\n\nIf you want to sort projects/change name of project/change path, You can type `pm edit` to open settings.json\n\n\n#### Example settings:\n```json\n{\n    \"commandToOpen\": \"code\",\n    \"projects\": [\n        {\n            \"name\": \"Project1\",\n            \"path\": \"path/to/project1\"\n        },\n        {\n            \"name\": \"Project2\",\n            \"path\": \"path/to/project2\",\n            \"editor\": \"atom\"\n        },\n        {\n            \"name\": \"Project3\",\n            \"path\": \"path/to/project3\"\n        }\n    ]\n}\n```\nThis will show three projects in `pm open` and project2 will be opened in Atom and other projects will be opened in Visual Studio Code\n\n\n#### Settings Ref:\n\n**\u003e commandToOpen** :\n- This is your editor's command, this command will be used to open the file in your editor.\n- Default is `code` which opens in vscode.\n- This is the command that you normally use to open directories in your editor.\n\n| Editor        |'commandToOpen' value|\n|---------------|-----------|\n| **VSCode**    | code      | \n| **Atom**      | atom      | \n| **Sublime**   | subl      | \n| **Vim**       | vim       | \n| **WebStorm**  | wstorm    |\n\n**\u003e projects.`name` :**\n- This is the name that will be visible when you type `projectman open`\n\n**\u003e projects.`path` :**\n- This should be the absolute path to your folder.\n\n**\u003e projects.`editor` :**\n- This is optional key. In case it doesn't exist it will read value from `commandToOpen` \n- You can use this to specify separate editor for a particular project.\n- You can set it by adding `\"editor\": \"\u003ccommandToOpen\u003e\"` in projects array in settings.json ([Example](#settingsjson) is shown above) \n\n---\n\n## ChangeLogs\n\n### v2.0.0 *`@latest`*\n\n- Add `pm create` command\n- Remove support for binaries\n\n\n***For More Changes read [CHANGELOG.md](CHANGELOG.md)***\n\n---\n## Rust Port\n[@hskang9](https://github.com/hskang9) has made a pretty cool rust port for projectman. You can check it out at: https://github.com/hskang9/projectman-rust\n\n---\n## Contributing to ProjectMan\n[![contributions welcome to projectman](https://img.shields.io/badge/contributions-welcome-brightgreen?style=flat-square\u0026logo=github)](https://github.com/saurabhdaware/projectman/issues)\n\nI would be extremely happy to have people contribute to ProjectMan. You can read Contribution guidelines in **[CONTRIBUTING.md](CONTRIBUTING.md)**\n\n---\n\n**Thank you for showing Interest! Do contribute and star [ProjectMan🦸 on GitHub](https://github.com/saurabhdaware/projectman)**","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaurabhdaware%2Fprojectman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaurabhdaware%2Fprojectman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaurabhdaware%2Fprojectman/lists"}