| Crates.io | devto-cli |
| lib.rs | devto-cli |
| version | 0.3.1 |
| created_at | 2022-04-25 08:26:12.478745+00 |
| updated_at | 2022-07-04 07:02:51.598328+00 |
| description | A CLI tool to manage dev.to articles |
| homepage | https://github.com/ken-matsui/devto-cli#readme |
| repository | https://github.com/ken-matsui/devto-cli/ |
| max_upload_size | |
| id | 573708 |
| size | 51,816 |
A CLI tool to manage dev.to articles similar to Zenn CLI
You can install this using the cargo install command:
$ cargo install devto-cli
You need to export your dev.to token to use.
$ export DEVTO_TOKEN=your_token
Or you can pass the token as an option:
$ devto new your-new-article-title --devto-token your_token
Settings > Account > DEV Community API KeysGenerate API Key$ devto start
Creating `devto-content` ...
You can now start writing your articles:
cd devto-content
git init
devto new your-article-title
devto-content/$ devto new your-new-article-title
devto-content/$ devto delete your-unpublised-article-title
devto-content/$ devto preview your-draft-article-title
$ cargo build
Or you can directly execute the binary:
$ cargo run
$ cargo build
$ cargo test
$ git tag v0.1.0
$ git push origin v0.1.0
$ cargo publish