
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@kahlil/blog-cli
Advanced tools
A cli to create blog posts for static site generators.
This is a useful little helper if you have a Jekyll, Hugo or any other static site generator blog that consumes Markdown files with Front Matter.
Once you configure it with the path to your Markdown files and your favorite Markdown editor it will create Markdown files for you blog posts in that directory with the following Front Matter:
---
draft: true
date: 2019-01-17T09:34:49.212Z
title: ""
---
If you are publishing your blog by pushing to a remote Git repository you can use the
--publish
flag to publish your blog. It will add all unstaged files, commit them with the message
new post
and push to origin master.
$ npm install --global @kahlil/blog-cli
Usage
$ blog [slug]
Options
--help
--path ~/path/to/posts [Default: .]
--editor 'visual studio code' [Default: 'ia writer']
--publish [Default: true]
Examples
$ blog --path ~/my-blog/posts
Saved the path `~/my-blog/posts` for your blog posts
$ blog --editor ' visual studio code'
Saved visual studio code as your editor
$ blog my-cool-post
Created your new post at
/Users/username/my-blog/posts/2019-01-17-my-cool-post.md
and openening it in your editor
$ blog --publish
Your changes have been pushed
MIT © Kahlil Lechelt
FAQs
A cli to create blog posts for static site generators.
The npm package @kahlil/blog-cli receives a total of 0 weekly downloads. As such, @kahlil/blog-cli popularity was classified as not popular.
We found that @kahlil/blog-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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.