Skip to content

Commit

Permalink
Merge pull request #24 from saurabhdaware/develop
Browse files Browse the repository at this point in the history
v1.3.0
  • Loading branch information
saurabhdaware authored Sep 19, 2019
2 parents 7d23f55 + e26821a commit 8a48380
Show file tree
Hide file tree
Showing 8 changed files with 475 additions and 393 deletions.
24 changes: 23 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,32 @@
# Production Releases
(Note: Only production releases will be mentioned here, If you want to see beta releases, you can find them [here](https://github.com/saurabhdaware/projectman/releases))

### v1.2.0 *[LATEST RELEASE]*

### v1.3.0 *[LATEST RELEASE]*
---
```shell
npm install -g projectman
```
**Release Date:** 20th Sept, 2019

---

- ## Brought dependencies from 36 packages to 4 packages!! 🎉
Some internal code refactoring and asking myself "Do I really need this package?" helped me bring down dependency tree of 37 packages to 4 packages!!!
- ## AutoComplete added during project selection.
In `pm open` and other project selection menus. You can now start typing the letters and list will be filtered out to show projects matching the letters.
- ## Ability to open/add URLs (Thank You [@ZakariaTalhami](https://github.com/ZakariaTalhami) for PR [#20](https://github.com/saurabhdaware/projectman/pull/20) )
- `pm add --url [URL]` to add URLs to the projectman. `[URL]` is an optional parameter
- These URLs will show up in `pm open` with (URL) appended to their names.
- On selecting the URL in `pm open` they will be opened in your default browser.
- This can be used to store your repositories/websites/other useful links.

---
---
### v1.2.0
```shell
npm install -g [email protected]
```
**Release Date:** 12th Sept, 2019

---
Expand Down
68 changes: 33 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
# ProjectMan🦸

![](/images/logo-192.png)
<br>
<p align="center">

[![projectman version](https://img.shields.io/npm/v/projectman?style=flat-square)](https://www.npmjs.org/package/projectman) [![projectman downloads](https://img.shields.io/npm/dt/projectman?label=npm%20downloads&style=flat-square)](http://npm-stat.com/charts.html?package=projectman)
[![contributions welcome to projectman](https://img.shields.io/badge/contributions-welcome-brightgreen?style=flat-square&logo=github)](https://github.com/saurabhdaware/projectman/issues) [![projectman license MIT](https://img.shields.io/npm/l/projectman?color=success&style=flat-square)](https://github.com/saurabhdaware/projectman/blob/master/LICENSE)
<img src="/images/logo-192.png">
<br><br>
<a href="https://www.npmjs.org/package/projectman"><img src="https://img.shields.io/npm/v/projectman?style=flat-square"></a>
<a href="https://www.npmjs.org/package/projectman"><img src="https://img.shields.io/npm/dm/projectman?label=npm%20downloads&style=flat-square"></a>
<a href="https://www.npmjs.org/package/projectman"><img src="https://img.shields.io/badge/contributions-welcome-brightgreen?style=flat-square&logo=github"></a>
<a href="https://www.npmjs.org/package/projectman"><img src="https://img.shields.io/npm/l/projectman?color=success&style=flat-square"></a>

[![https://nodei.co/npm/projectman.png?downloads=true&downloadRank=true&stars=true](https://nodei.co/npm/projectman.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/projectman)
<br>
<a href="https://www.npmjs.com/package/projectman"><img src="https://nodei.co/npm/projectman.png?downloads=true&downloadRank=true&stars=true"></a>


![]()
</p>
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)` which we will see below.
Expand Down Expand Up @@ -45,13 +50,22 @@ pm open [projectName]

**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
```shell
cd /till/the/project
pm add
```

### ## Add URL
***Added in v1.3.0.***
```shell
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

```shell
Expand Down Expand Up @@ -156,36 +170,17 @@ This will show three projects in `pm open` and project2 will be opened in Atom a

## ChangeLogs

### v1.2.0 *[LATEST RELEASE]*

#### > `cd` to directory without opening the project.
```shell
cd $(pm getpath)
```
This will allow users to jump to a directory in command line without opening the project.

**PR :** [#9](https://github.com/saurabhdaware/projectman/pull/9) (Thank You [@ZakariaTalhami](https://github.com/ZakariaTalhami))
**Issue :** [#5](https://github.com/saurabhdaware/projectman/issues/5) (Thank you [@feitzi](https://github.com/feitzi))

#### > `--for-project` flag in `pm seteditor`:
```shell
pm seteditor --for-project
```
This will allow users to set different editor for a specific project
E.g. Set Atom for `Project1` and have VSCode for other projects
### v1.3.0 *[LATEST RELEASE]*

**Isssue :** [#13](https://github.com/saurabhdaware/projectman/issues/13)
**PR :** [#16](https://github.com/saurabhdaware/projectman/pull/16)

#### > `Other` option added in `pm seteditor` :
You can now select `other` option and type the editorCommand as an input rather than typing `pm seteditor [editorCommand]`

#### > New command `pm rmeditor`:
```shell
pm rmeditor
```
This will allow users to remove the project specific editors.
You can either `pm rmeditor` and choose the project to remove editor or `pm rmeditor --all` to remove all project specific editors.
- ## Brought dependencies from 36 packages to 4 packages!! 🎉
Some internal code refactoring and asking myself "Do I really need this package?" helped me bring down dependency tree of 37 packages to 4 packages!!!
- ## AutoComplete added during project selection.
In `pm open` and other project selection menus. You can now start typing the letters and list will be filtered out to show projects matching the letters.
- ## Ability to open/add URLs (Thank You [@ZakariaTalhami](https://github.com/ZakariaTalhami) for PR [#20](https://github.com/saurabhdaware/projectman/pull/20) )
- `pm add --url [URL]` to add URLs to the projectman. `[URL]` is an optional parameter
- These URLs will show up in `pm open` with (URL) appended to their names.
- On selecting the URL in `pm open` they will be opened in your default browser.
- This can be used to store your repositories/websites/other useful links.

**.
.
Expand All @@ -194,7 +189,10 @@ You can either `pm rmeditor` and choose the project to remove editor or `pm rmed
***For More Changes read [CHANGELOG.md](CHANGELOG.md)***

---
## Rust Port
[@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

---
## Contributing to ProjectMan
[![contributions welcome to projectman](https://img.shields.io/badge/contributions-welcome-brightgreen?style=flat-square&logo=github)](https://github.com/saurabhdaware/projectman/issues)

Expand Down
1 change: 1 addition & 0 deletions bin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ program
program
.command('add [projectDirectory]')
.alias('save')
.option('-u, --url [link]', 'Add a link to a repository to projects')
.description("Save current directory as a project")
.action(action.addProject);

Expand Down
Loading

0 comments on commit 8a48380

Please sign in to comment.