Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ポスト投稿を自動化 #16

Open
gaaamii opened this issue Sep 12, 2015 · 9 comments
Open

ポスト投稿を自動化 #16

gaaamii opened this issue Sep 12, 2015 · 9 comments

Comments

@gaaamii
Copy link
Contributor

gaaamii commented Sep 12, 2015

No description provided.

@karur4n
Copy link
Member

karur4n commented Sep 12, 2015

今だと、他のポストからコピーしてきてちまちま書きかえてる。

$ kumocast generate post 22 --guest kimihito_ 

とかできたらうれしい?

---
layout: post
title: # TO COMPLETE
date: 2015-09-12 00:00:00
duration: 56分 # 配置したオーディオファイルから取ったらいい
members: ['kimihito_', 'gaaamii', 'karur4n']
audio: http://kumocast.jp/audios/22.mp3
description: <a href="https://twitter.com/kimihito_">@kimihito_</a> さんを迎えて、# TO COMPLETE について話しました。
number: 22
---

### Show Notes

# TO COMPLETE

@gaaamii
Copy link
Contributor Author

gaaamii commented Sep 12, 2015

@karur4n
Copy link
Member

karur4n commented Sep 12, 2015

CLI ツールでいいですかね?

ツール名は kumocast でいいのか、もうちょいかっこいい名前があるか

@gaaamii
Copy link
Contributor Author

gaaamii commented Sep 12, 2015

とりあえずは kumocast でいいとおもいます

@karur4n
Copy link
Member

karur4n commented Sep 12, 2015

対話型の方がよいかもしれない

$ kumocast generate post
file name:  hogehoge
title: ほげほげ
number: 22
guest:  kimihito_

@gaaamii
Copy link
Contributor Author

gaaamii commented Sep 12, 2015

すごい良い

@karur4n
Copy link
Member

karur4n commented Sep 12, 2015

$ kumocast guest -l
$ kumocast guest add
twitter id: hogehoge
github id: hoge

とかもいいですね

@karur4n
Copy link
Member

karur4n commented Sep 12, 2015

リポジトリつくりました https://github.com/kumocast/kumocast-cli

gem の命名的に kumocast-cli だと、 Kumocast::Cli になってよくないので、リポジトリの名前も変えました

_ 区切りだと クラス名が KumocastCli になる

https://github.com/kumocast/kumocast_cli

@gaaamii
Copy link
Contributor Author

gaaamii commented Sep 12, 2015

👍 👍 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants