Skip to content

Document Terminal Commands #8

@AbdulDevHub

Description

@AbdulDevHub

npx eslint .
npx unimport
npx depcheck
tree src /F
Remove-Item src\components\drink_utilities\defaultData.js

Get-ChildItem -File | ForEach-Object {

try {
    $img = [System.Drawing.Image]::FromFile($_.FullName)
    if ($img.Width -le 1280) {
        [PSCustomObject]@{
            FileName = $_.Name
            Width    = $img.Width
            Height   = $img.Height
        }
    }
    $img.Dispose()
} catch {
    # Skip files that aren't valid images
}

}
===============
Get-ChildItem | Sort-Object LastWriteTime -Descending
=============
tree . /F /A
Rename-Item nelitfy.toml netlify.toml
tree . /F /A > tree.txt
New-Item pnpm-guide.md
===========
PS C:\Users\kokok> Get-ChildItem -Directory | ForEach-Object {
Write-Host "`n $($.Name)" -ForegroundColor Cyan
Get-ChildItem $
.FullName -Directory | ForEach-Object {
Write-Host " $($_.Name)"
}
}
===================

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions