Skip to content

Commit

Permalink
bonsai
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Jan 9, 2021
1 parent 5962fd2 commit a9c98ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ var docCmd = &cobra.Command{
Use: "doc",
Short: "Generate architecture document",
Long: `Generate architecture document.`,
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error {
cfg, err := newConfig()
if err != nil {
Expand Down Expand Up @@ -98,7 +99,7 @@ var docCmd = &cobra.Command{
return err
}
if err := o.OutputDiagram(file, d); err != nil {
a return err
return err
}
}
// draw diagram
Expand Down
1 change: 1 addition & 0 deletions cmd/draw.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ var drawCmd = &cobra.Command{
Use: "draw",
Short: "Draw diagram",
Long: `Draw diagram.`,
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error {
var o output.Output

Expand Down
1 change: 1 addition & 0 deletions cmd/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ var listIconsCmd = &cobra.Command{
Use: "icons",
Short: "List available icons",
Long: `List available icons.`,
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error {
cfg, err := newConfig()
if err != nil {
Expand Down

0 comments on commit a9c98ec

Please sign in to comment.