Here, I will write about the command of qiita \ _org.
qiita all
This command posts all org files in the current directory to qiita.
Articles with id in the org file will be updated, and articles without id will be posted in the limited shared post.
qiita config
This command creates and confirms the configuration file of qiita \ _org.
Please refer to https://qiita.com/yamatoken/items/858692178d288c40714d for the setting method.
qiita get
This is a command to get Qiita articles.
qiita get [qiita / teams] [article ID]
By executing it, the specified article will be created as id.org in the directory.
You can display and get up to 100 articles of your own Qiita or Qiita Team from the latest.
qiita get [qiita/teams]
When you execute it, the title will be displayed. If you don't want to save it, enter'n'. The end is'e'
qiita list
It is a command to display the latest 100 articles of your Qiita or Qiita Team on the terminal.
qiita list [qiita/teams]
When executed, if the option is qiita, the title, URL, and the location of the org file from which the article was based will be displayed.
In teams, who's article is displayed.
qiita post
This command is for posting text written in org-mode to Qiita.
qiita post [FILE] [private/public/teams]
The org file you want to post is posted to FILE, private is posted to a limited shared post, public is posted to a public article, and teams is posted to Qiita Team.
Example:
qiita post example.org private
If you execute, the contents of example.org will be posted in the limited shared article.
qiita template
It is a command to get an org file with a header for posting with qiita \ _org.
Create template.org in the current directory. If template.org already exists, it will not be created.
Recommended Posts