-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add prettytable formatting to cargo loco routes command
Add pretty table formatting to `cargo loco routes` command. * Modify `list_endpoints` function in `src/boot.rs` to format routes using `prettytable`. * Update `cargo loco routes` command in `src/cli.rs` to use the modified `list_endpoints` function. * Add `prettytable` crate to `Cargo.toml` for table formatting.
- Loading branch information
1 parent
9d0dfb7
commit f07a137
Showing
2 changed files
with
37 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters