New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@hashnode/cli

Package Overview
Dependencies
Maintainers
4
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hashnode/cli

The Hashnode CLI

npmnpm
Version
0.0.4
Version published
Weekly downloads
230
51.32%
Maintainers
4
Weekly downloads
 
Created
Source

Hashnode CLI

Hashnode CLI is a command-line interface tool that allows you to manage your Hashnode blogs or docs directly from your terminal. It provides commands to verify your local changes and preview your documentation.

Note: The Hashnode CLI is currently under active development. Some features may be incomplete or subject to change. We appreciate your patience and feedback as we work to improve the tool.

Installation

To install the Hashnode CLI, run the following command:

npm install -g @hashnode/cli

Commands

docs

The docs command is the main entry point for Hashnode documentation-related commands.

hashnode docs [command]

verify

Check your local changes for any errors.

hashnode docs verify [options]

Options:

  • -c, --cwd <cwd>: The working directory. Defaults to the current directory.
  • -o, --write-file: Write the result to a file.

This command performs the following checks:

  • Configuration errors
  • Content errors
  • Duplicated slugs
  • Duplicated paths
  • Missing files

Keywords

hashnode

FAQs

Package last updated on 18 Nov 2024

Related posts