
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
A cli that aims to managing template code.
pharah-cli aims to managing template code by maintaining a JSON of all template repository.
You could specify a template with owner, repository and branch. Like this:
npm install -g pharah-cli
//In
$ pharah list
//out
╔═══════════════╤═════════════════════╤════════╗
║ Template Name │ Owner/Name │ Branch ║
╟───────────────┼─────────────────────┼────────╢
║ pharah │ ZhaZhengRefn/pharah │ master ║
╚═══════════════╧═════════════════════╧════════╝
$ pharah add
? input the name of this template: pharah
? input the ownerName/repositoryName, such as: tj/commander.js: ZhaZhengRefn/pharah
? input the branch name where this template belongs to: master
╔═══════════════╤═════════════════════╤════════╗
║ Template Name │ Owner/Name │ Branch ║
╟───────────────┼─────────────────────┼────────╢
║ pharah │ ZhaZhengRefn/pharah │ master ║
╚═══════════════╧═════════════════════╧════════╝
$ pharah init
? Which template would you like to use ? pharah
? Input the name of new project. pharah-demo
? Input the path that you want to init the project. /Users/zhazheng/www/my_project
✔ Init the project successfully!
$ pharah delete
? Which template would you want to delete ? pharah
? Deleting a template can not be reverted. Sure? Yes
✔ Writing templates successfully!
╔═══════════════╤════════════╤════════╗
║ Template Name │ Owner/Name │ Branch ║
╚═══════════════╧════════════╧════════╝
$ pharah delete --all
? Delete all templates ? Yes
✔ Writing templates successfully!
╔═══════════════╤════════════╤════════╗
║ Template Name │ Owner/Name │ Branch ║
╚═══════════════╧════════════╧════════╝
$ pharah update
? input the name of the template that you want to update: pharah
? input the ownerName/repositoryName, such as: tj/commander.js: ZhaZhengRefn/pharah
? input the branch name where this template belongs to: develop //here, change the branch name.
✔ Writing templates successfully!
╔═══════════════╤═════════════════════╤═════════╗
║ Template Name │ Owner/Name │ Branch ║
╟───────────────┼─────────────────────┼─────────╢
║ pharah │ ZhaZhengRefn/pharah │ develop ║
╚═══════════════╧═════════════════════╧═════════╝
$ pharah sync
? Url of the template.json: http://www.refn.com/template.json
? Merge or Replace your current template? (Use arrow keys)
❯ merge
replace
You could input pwd
to get the path.
$ pharah exact
? Input the path you want to exact the template.json to. /Users/zhazheng/www/my_project
✔ Writing templates successfully!
╔═══════════════╤═════════════════════╤═════════╗
║ Template Name │ Owner/Name │ Branch ║
╟───────────────┼─────────────────────┼─────────╢
║ pharah │ ZhaZhengRefn/pharah │ develop ║
╚═══════════════╧═════════════════════╧═════════╝
FAQs
A cli that aims to managing template code.
The npm package pharah-cli receives a total of 5 weekly downloads. As such, pharah-cli popularity was classified as not popular.
We found that pharah-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.