[RUBY] About qiita_org commands

Mac OS X-10.13.3ruby-2.7.0p0qiita_orgversion

Introduction

Here, I will write about the command of qiita \ _org.

Command list

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.

How to get a specific article

qiita get [qiita / teams] [article ID]

By executing it, the specified article will be created as id.org in the directory.

How to get multiple articles

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

About qiita_org commands
About Javac commands
About Java commands
About =
About method.invoke
About Kotlin
About attr_accessor
About inheritance
About params
About Docker
About Rails 6
About form_for
About Spring ③
About enum
About polymorphism
About Optional
About hashes
About JitPack
About Dockerfile
About this ()
About devise
About encapsulation
About Docker
About JAVA_HOME
About active_hash
About static
About exceptions
About scope
[Maven] About Maven
Install qiita_org