Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abroudoux/pm
🗂️ Bash Utility to Manage Commands Inside Projects
https://github.com/abroudoux/pm
bash bash-script bash-utils package-manager package-manager-tool utils-scripts
Last synced: about 1 month ago
JSON representation
🗂️ Bash Utility to Manage Commands Inside Projects
- Host: GitHub
- URL: https://github.com/abroudoux/pm
- Owner: abroudoux
- License: mit
- Created: 2024-11-11T21:36:34.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-17T14:28:34.000Z (about 2 months ago)
- Last Synced: 2024-11-17T15:31:31.189Z (about 2 months ago)
- Topics: bash, bash-script, bash-utils, package-manager, package-manager-tool, utils-scripts
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pm
Bash Utility to Manage Commands Inside Projects
## 💻 ・ Usage
`pm` allows you to easily run and manage commands on your project, according to your file reference.
```bash
# Will move you to the root of your project, then return you to your current working directory
pm npm install express
```You can also return at the root of the project by simply use `pm`.
```bash
# Will move you to the root of your project, at the same level as your reference file
pm
```Your previous working directory is saved, so you can use `pm -` to go back to it.
```bash
# Will move you back to your previous working directory
pm -
```Use the `--config` flag to configure your file reference.
> By default, the value is `package.json`.
```bash
# If you're working on a Cargo-based project
pm --config cargo.lock
```## 🧑🤝🧑 ・ Contributing
To contribute, fork the repository and open a pull request with the details of your changes.
Create a branch with a [conventionnal name](https://tilburgsciencehub.com/building-blocks/collaborate-and-share-your-work/use-github/naming-git-branches/).
- fix: `bugfix/the-bug-fixed`
- features: `feature/the-amazing-feature`
- test: `test/the-famous-test`
- hotfix `hotfix/oh-my-god-bro`
- wip `wip/the-work-name-in-progress`## 📑 ・ License
This project is under MIT license. For more information, please see the file [LICENSE](./LICENSE).