Skip to content

Command prefixing for continuous workflow using single tool

License

Notifications You must be signed in to change notification settings

evilprince2009/Attach-With

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

attach

Command prefixing for continuous workflow using single tool.

Installation

Open a PowerShell Instance and run Install-Module -Name attach-with.

Now, put this line Import-Module -Name attach-with inside your PowerShell profile and save. To edit your PowerShell profile, open powershell, type notepad $profile & hit <Enter>.

Usage

`PS > attach <program>`

Starts an interactive shell with where every command is prefixed using <program>.

For example:

`PS> attach dotnet`
`PS dotnet> restore`
`PS dotnet> build`
`PS dotnet> run`

attach

To repeat commands:

`PS> attach g++ -o output input.c
PS g++ -o -output main.cpp>
<enter>
Compiling...
PS g++ -o -output main.cpp>`

Execute a shell command with with : prefix.

`PS g++> :dir`

To exit use q or quit.

Ibne Nahian