Command line untilities for interacting with Hashnode
npm install hashnode-cliCommand line utilities for interacting with Hashnode.




- hashnode-cli
- Usage
- Commands
``sh-session`
$ npm install -g hashnode-cli
$ hashnode-cli COMMAND
running command...
$ hashnode-cli (-v|--version|version)
hashnode-cli/1.0.0 linux-x64 node-v10.19.0
$ hashnode-cli --help [COMMAND]
USAGE
$ hashnode-cli COMMAND
...
- hashnode-cli create-post
- hashnode-cli goals
- [hashnode-cli help [COMMAND]](#hashnode-cli-help-command)hashnode-cli login
-
Creates a post on your hashnode blog from a markdown file.
`
USAGE
$ hashnode-cli create-post
OPTIONS
-h, --help show CLI help
-t, --title=title post title
`
_See code: src/commands/create-post.ts_
Set your writing goals or retreive them
`
USAGE
$ hashnode-cli goals
OPTIONS
-h, --help show CLI help
-n, --new=new set a new writing goal
`
_See code: src/commands/goals.ts_
display help for hashnode-cli
`
USAGE
$ hashnode-cli help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
`
_See code: @oclif/plugin-help_
authenticate the CLI by pasting your developer token
`
USAGE
$ hashnode-cli login
OPTIONS
-h, --help show CLI help
-t, --token=token Hashnode token from the developer settings
``
_See code: src/commands/login.ts_
1. Add types to the inquirer-search-list package
2. Add Delete functionality to the goals command
3. Add cache invalidation to the tags
4. Redirects users to login command if a token was revoked or expired
Hashnode delists posts that don't adhere to the community guidelines. This usually hapens if your post is too short or off-topic.
If you make too many posts in a short period, Hashnode will suspend your account. Please have this in mind when using this CLI.
The contributors to this CLI shall not be held responsible if any Hashnode account is suspended due to the use of this CLI.