https://github.com/defer-panic/dp-cli
Toolkit for managing Defer Panic articles and other stuff.
https://github.com/defer-panic/dp-cli
cli cli-app go golang golang-app golang-cli
Last synced: 20 days ago
JSON representation
Toolkit for managing Defer Panic articles and other stuff.
- Host: GitHub
- URL: https://github.com/defer-panic/dp-cli
- Owner: defer-panic
- License: mit
- Created: 2022-09-17T13:42:15.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-19T19:17:25.000Z (over 2 years ago)
- Last Synced: 2025-03-26T15:54:34.385Z (about 1 month ago)
- Topics: cli, cli-app, go, golang, golang-app, golang-cli
- Language: Go
- Homepage:
- Size: 30.3 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Defer Panic CLI [](https://coveralls.io/github/defer-panic/dp-cli) [](https://goreportcard.com/report/github.com/defer-panic/dp-cli)
Toolkit for managing Defer Panic articles and other stuff.
## Requirements
* [pandoc](https://pandoc.org)
* xelatex (for exporting to PDF)
* [Computer Modern Unicode fonts](https://cm-unicode.sourceforge.io/index.html) (if you want to use them for exporting to PDF)## Install
Go to Releases page and download archive with latest version for your platform.
If you want to build Defer Panic CLI manually, make sure you have Go 1.19+ on your machine, then run:
```shell
go install github.com/defer-panic/dp-cli@latest
```## Usage
You can get help with `--help` flag or just by running `dp-cli` without any arguments:
```
Toolkit for managing Defer Panic articles and other stuffUsage:
dp-cli [command]Available Commands:
article Manage articles
completion Generate the autocompletion script for the specified shell
help Help about any command
login Login to your account on https://dfrp.cc (default) or other instance of dfrp-like infrastructure
url Shorten given URL
version Get dp-cli versionFlags:
-h, --help help for dp-cliUse "dp-cli [command] --help" for more information about a command.
```