Code Monkey home page Code Monkey logo

powershell-lightning's Introduction

Powershell Lightning โšก

๐ŸŽ‰ Smart Powershell CLI Tool for developers - Also Easily Add .gitignore file

PowerShell Gallery Version (including pre-releases) GitHub release (latest SemVer including pre-releases) GitHub issues PowerShell Gallery GitHub All Releases

โš“ Prerequisites

Check for the execution policy

Open PowerShell as Administrator

  • Run Get-ExecutionPolicy

  • If you don't get RemoteSigned. Then run Set-ExecutionPolicy RemoteSigned

Terminal Check

You should use Windows Terminal to have a brilliant terminal experience on Windows.

Windows Terminal can be acquired from the Microsoft Store, the Windows Terminal

You need to have the new PowerShell, can be downloaded from here

๐Ÿ’ป Installation

One Line Command (Method 1)

Install-Module -Name PowerShell-Lightning

Manual (Method 2)

  1. Go to Releases and download from the Assets

  2. Download the exe file and install

Optional

  • Open profile.ps1 located in \\Documents\PowerShell or simple run the command code $PROFILE.CurrentUserAllHosts or notepad $PROFILE.CurrentUserAllHosts
  • add Import-Module PowerShell-Lightning to the end

Now Run

Get-Module

You will see PowerShell-Lightning there.

restart the PowerShell

For more help write

PSL info

๐Ÿ”— Arguments

Name Description Example
info Display the docs psl info
doctor Check language setup status psl doctor
c, create Create a new project psl create hello_js node
s, setup Setup project env / config psl setup
gi, gitignore Add .gitignore file psl gi node

๐Ÿ›  Functions

Name Alias Description
Run_AnyCode makk Run code
makk hello.cpp
touch touch Create new file
touch hello.txt
nano nano Edit file
nano hello.txt
rnn rnn Rename file
rnn hello.txt then changed.txt

๐Ÿšฉ Flags

Run_AnyCode or makk

Name Description Example
s, silent Run proram silently makk hello.js -s
p, progress Show progress status makk hello.js -p

๐Ÿ†Ž About PowerShell Profile

Description Name
All Users, All Hosts $PROFILE.AllUsersAllHosts
All Users, Current Host $PROFILE.AllUsersCurrentHost
Current User, All Host $PROFILE.CurrentUserAllHosts
Current User, Current Host $PROFILE.CurrentUserCurrentHost

powershell-lightning's People

Stargazers

 avatar  avatar

Forkers

mukhtarzotder

powershell-lightning's Issues

PSL -gitignore in not working for CSharp

Describe the bug
.gitignore for CSharp is not adding by -gitignore command

To Reproduce

  1. Open a CSharp project on PowerShell
  2. Type PSL -gitignore csharp
  3. It shows error

Expected behavior
It should add .gitignore file for CSharp project

Additional context
In GitHub's gitignore repository, there is no gitignore for csharp.
There is * for VisualStudio

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.