PJ Launcher Properties - [PowerShell Project Manager]
Console Output Preview
██████╗ ██╗ ██╔══██╗ ██║ ██████╔╝ ██║ ██╔═══╝ ██ ██║ ██║ ╚█████╔╝ ╚═╝ ╚════╝ PowerShell Project & Shortcut Launcher PJ SHORTCUTS (registered in %USERPROFILE%\.pj\projects.json) myapp D:\Projects\myapp code . gco [alias] git checkout docs [alias] ./create-journal.ps1
System Characteristics

PJ is a lightweight project launcher and terminal workflow accelerator for PowerShell. It binds custom shortcut names to paths and startup commands without creating heavy dependencies or slowing your shell boot time.

  • Automatic directory switching and environment initialization
  • Global command aliases with full trailing argument forwarding
  • Interactive selection menus for parameterless invocation
  • Collision warnings against existing system executables and cmdlets
  • Atomic JSON write operations with automatic backup retention
Command Reference Table
Action CLI Syntax Interactive Mode
Register project pj add <name> <path> <cmd> Prompt for name, path, command
Save current dir pj save <name> <cmd> Prompt for name, command
Global alias pj alias <name> <cmd> Prompt for name, command
Edit shortcut pj edit <name> Numbered selection menu
Remove shortcut pj rm [names...] Range & multi-select (1-4, 1 3 5)
List all pj list Formatted ANSI terminal table

Note: Project names must only contain alphanumeric characters, hyphens, and underscores.

One-Time Setup Procedure

Step 1: Clone the repository and execute install.ps1 from PowerShell.

git clone https://github.com/indraprhmbd/PJ.git; cd PJ; .\install.ps1

Step 2: Reload your current PowerShell session profile.

. $PROFILE

Step 3: Verification. Test that PJ responds correctly.

pj list
Data Integrity & Registry
Registry Target: %USERPROFILE%\.pj\projects.json
Backup Target: %USERPROFILE%\.pj\projects.json.bak
Sourced Functions: %USERPROFILE%\.pj\shortcuts.ps1
Fail-Safe Architecture

Write operations execute via temporary swap files (projects.json.tmp) before atomic replacement. If the host terminal process terminates prematurely, existing configuration records remain uncorrupted.

GitHub Repository
System Ready: Windows PowerShell 5.1 / Core 7+
Encoding: UTF-8
v1.2.0