Skip to content

Commit

Permalink
:wasm:
Browse files Browse the repository at this point in the history
  • Loading branch information
matslina committed Sep 21, 2023
1 parent 3d95a76 commit 00d2845
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"github.com/spf13/cobra"
"tidbyt.dev/pixlet/cmd"
"tidbyt.dev/pixlet/cmd/community"
"tidbyt.dev/pixlet/cmd/private"
)

var (
Expand Down Expand Up @@ -34,8 +33,6 @@ func init() {
rootCmd.AddCommand(cmd.CheckCmd)
rootCmd.AddCommand(cmd.SetAuthCmd)
rootCmd.AddCommand(community.CommunityCmd)
rootCmd.AddCommand(private.PrivateCmd)

}

func main() {
Expand Down
4 changes: 3 additions & 1 deletion main_nonjs.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
package main

import (
"tidbyt.dev/pixlet/cmd"
"tidbyt.dev/pixlet/cmd/private"
)

func init() {
rootCmd.AddCommand(private.CreateCmd)
rootCmd.AddCommand(private.PrivateCmd)
rootCmd.AddCommand(cmd.CreateCmd)
}

0 comments on commit 00d2845

Please sign in to comment.