devtogo 0.0.2

a dev.to tool for the road
devtogo-0.0.2 is not a library.

install

Via homebrew (osx)

$ brew install softprops/tools/devtogo

Via cargo

$ cargo install devtogo

Via GitHub Releases

$ cd $HOME/bin
$ curl -L "https://github.com/softprops/devtogo/releases/download/v0.0.1/devtogo-$(uname -s)-$(uname -m).tar.gz" \
  | tar -xz -C ~/bin

usage

devtogo is a cli primarily focused on publishing offline markdown files to dev.to.

The most basic usage is to run the program inside the directory containing content

$ devtogo

This will scan the current working directory for articles: markdown documents containing frontmatter describing metadata about the article. devtogo uses the title frontmatter field as a unique identifier to compare existing remote content.

When it can't resolve an article by title it uploads it. When it can, it compares content and uploads local copy if the content of the local copy differs.

you can use the published frontmatter to indicate if and when an article should be published by default articles are saved as drafts only you can see. Setting published to true will publish articles. If you do this by accident you can set published back to false to unpublish an article if needed

To be more explicit you can provide a source argument which provides a path where content is stored.

$ devtogo --source path/to/content

Doug Tangren (softprops) 2020