Skip to content

Commit

Permalink
Merge pull request #3 from lemo-nade-room/feature/change-docc
Browse files Browse the repository at this point in the history
doc: 📝 DocC修正
  • Loading branch information
lemo-nade-room authored Sep 8, 2024
2 parents 6ea7530 + a782388 commit a49a204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CLIKit/CLIKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ import Logging
/// `ConsoleKit`で作成した`AsyncCommand`を実行するサービス
///
/// 作成した`AsyncCommand`を`use`メソッドで登録後、`run`メソッドで実行を行う
/// sqliteURLを指定することでSQLiteデータベースをFluent ORMで使用できる。
/// ```swift
/// let sqliteURL = FileManager()
/// .homeDirectoryForCurrentUser
/// .appending(path: "file.sqlite")
/// var cli = CLIKitService(help: "サンプルCLI")
/// cli.use(AddCommand(), as: "add")
/// cli.use(CommitCommand(), as: "commit")
/// cli.migrations
/// cli.migrations.add(CommitMigration())
/// await cli.run()
/// ```
Expand Down

0 comments on commit a49a204

Please sign in to comment.