Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Frontmatter ¶
type Frontmatter struct {
NotionPageID string `yaml:"notion_page_id"` // NotionページID(存在すれば更新、なければ新規作成)
}
Frontmatter Markdownファイルのfrontmatter
type PullConfig ¶ added in v0.2.0
type PullConfig struct {
APIKey string // Notion APIキー
Verbose bool // 詳細出力
DryRun bool // ドライラン
Force bool // 確認プロンプトをスキップ
}
PullConfig pull設定
type PullResult ¶ added in v0.2.0
type PullResult struct {
Success bool // 成功したか
FilePath string // 更新されたファイルパス
PageID string // 取得元のページID
PageTitle string // ページタイトル
ErrorMessage string // エラーメッセージ(失敗時)
}
PullResult pull結果
Click to show internal directories.
Click to hide internal directories.