Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
type Command struct { *cobra.Command AppInfo *appinfo.AppInfo CUI *cui.UI // contains filtered or unexported fields }
Command is the struct to hold cobra.Command and it's flag options.
func (*Command) SurvayQueryType ¶
SurvayQueryType はユーザに質問集のタイプ(タスク整理向け、コレクション整理向 けなど)を問い合わせ、アプリの設定ファイルの queries フィールドにセットします。
このメソッドは保存は行いません。呼び出し側で必要にあわせて保存処理を別途実行 する必要があります。
func (*Command) SurvaySave ¶
SurvaySave は質問集が存在しない場合、ユーザに問い合わせて設定ファイルを新規保存します。
Click to show internal directories.
Click to hide internal directories.