Skip to content

Commit

Permalink
change -k api to --api
Browse files Browse the repository at this point in the history
  • Loading branch information
kaplanelad committed Oct 14, 2024
1 parent 50623b5 commit 4218b5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs-site/content/blog/axum-session.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ impl Hooks for App {
Now, you can create your controller that uses Axum session. Use the `cargo loco generate controller` command:

```sh
❯ cargo loco generate controller mysession --api
❯ cargo loco generate controller mysession --api
Finished dev [unoptimized + debuginfo] target(s) in 0.36s
Running `target/debug/axum-session-cli generate controller mysession`
added: "src/controllers/mysession.rs"
Expand Down
2 changes: 1 addition & 1 deletion snipdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ snippets:
content: cd ./examples/demo && cargo loco generate scaffold --help
path: ./snipdoc.yml
scaffold-post-command:
content: cargo loco generate scaffold posts
content: cargo loco generate scaffold posts
name:string title:string content:text --api
path: ./snipdoc.yml
generate-task-help-command:
Expand Down

0 comments on commit 4218b5d

Please sign in to comment.