Translated: pt-BR
Path-Fast is a powerful CLI tool 🛠️ designed to streamline your workflow by allowing you to manage and navigate project paths 📂 with custom commands 🧩 and shortcuts 🏃♂️. With Path-Fast, you can easily save paths, create aliases, and execute additional commands ⚡ with a single shortcut.
- Save paths with aliases 📌: Quickly store paths and associate them with a custom command.
- Navigate and open projects 📂➡️💻: Use shortcuts to navigate to paths and open them in VS Code.
- Support for additional commands 🎛️: Execute predefined commands when navigating to a path.
- Interactive editing ✍️: Modify paths, commands, or additional parameters through a simple interactive interface.
- Global installation 🌐: Available from anywhere in your terminal.
Install Path-Fast globally using npm:
npm install -g path-fast
Save a project path with a custom alias:
pf add <path> <command>
path
📂: The relative or absolute path to the project. Use.
to refer to the current directory.command
🧩: The alias you want to use for this path.- Example:
Or to add the current directory:
pf add ./my-project myproj
pf add . currentdir
Optional Parameter:
When adding a path, you will be prompted to add additional commands 💬 that will run whenever the alias is used.
Navigate to a saved path and open it in VS Code:
pf go <command> [-nc]
command
🧩: The alias of the path you want to navigate to.-nc
🚫: Skip executing additional commands associated with the path.- Example:
pf go myproj pf go myproj -nc
Display a list of all saved paths:
pf list
Interactively edit a saved path:
pf edit <command or index>
command
🧩: The alias of the path you want to edit.index
🔢: The numeric index of the saved path (usepf list
to find it).
Remove a saved path by its alias or index:
pf delete <command or index>
-
Add a project path and alias:
pf add ./my-app app
-
Add the current directory as a project path:
pf add . currentdir
-
Navigate to the saved path and open it in VS Code:
pf go app
-
List all saved paths:
pf list
-
Edit a saved path:
pf edit app
-
Delete a saved path:
pf delete app
Path-Fast saves paths in a JSON file 📄 located in your home directory under .path-fast/dist/paths.json
. You can back up or manually edit this file if needed.
This project is licensed under the MIT License.
Contributions are welcome! 🎉 Feel free to open an issue 🐛 or submit a pull request 📬 to the GitHub repository.
Thanks to the developers and maintainers of the following libraries: