@20i/scripts 中文文档教程
@20i/scripts
这个包旨在提供有用的脚本和; 快速编写跨平台node-js脚本的功能。
包含在项目中。
- cmd
- runCommand
- runCommandInteractive
- git
- cleanLocalBranches // runnable if env has --run=true
- getCurrentGitBranch // runnable if env has --run=true
- helpers
- file
- filesInDirectory
- dirsInDirectory
- dirExists
- fileExists
- writeFile
- copyDir
- copyFile
- removeDir
- createDir
- removeFile
- readFile
- getFileOrFolderName
- getTemplate
- string
- containsWhitespace
- containsNumbers
- containsAlphabets
- isOnlyAlphanumeric
- isOnlyNumeric
- isOnlyAlpha
- isInteger
- replace
- env
- onProcessExit
- getEnvVars
- file
@20i/scripts
This package aims to provide useful scripts & functions to quickly write cross platform node-js scripts.
Included in the project.
- cmd
- runCommand
- runCommandInteractive
- git
- cleanLocalBranches // runnable if env has --run=true
- getCurrentGitBranch // runnable if env has --run=true
- helpers
- file
- filesInDirectory
- dirsInDirectory
- dirExists
- fileExists
- writeFile
- copyDir
- copyFile
- removeDir
- createDir
- removeFile
- readFile
- getFileOrFolderName
- getTemplate
- string
- containsWhitespace
- containsNumbers
- containsAlphabets
- isOnlyAlphanumeric
- isOnlyNumeric
- isOnlyAlpha
- isInteger
- replace
- env
- onProcessExit
- getEnvVars
- file