-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsdt.go
More file actions
49 lines (44 loc) · 1.21 KB
/
sdt.go
File metadata and controls
49 lines (44 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package main
import (
"fmt"
"os"
"github.com/ScreenStaring/shopify-dev-tools/cmd/admin"
"github.com/ScreenStaring/shopify-dev-tools/cmd/charges"
"github.com/ScreenStaring/shopify-dev-tools/cmd/gql"
"github.com/ScreenStaring/shopify-dev-tools/cmd/metafields"
"github.com/ScreenStaring/shopify-dev-tools/cmd/orders"
"github.com/ScreenStaring/shopify-dev-tools/cmd/products"
"github.com/ScreenStaring/shopify-dev-tools/cmd/customers"
"github.com/ScreenStaring/shopify-dev-tools/cmd/scripttags"
"github.com/ScreenStaring/shopify-dev-tools/cmd/shop"
"github.com/ScreenStaring/shopify-dev-tools/cmd/themes"
"github.com/ScreenStaring/shopify-dev-tools/cmd/webhooks"
"github.com/urfave/cli/v2"
)
const version = "0.0.11"
func main() {
app := &cli.App{
Name: "sdt",
Usage: "Shopify Development Tools",
Version: version,
UseShortOptionHandling: true,
Commands: []*cli.Command{
&admin.Cmd,
&charges.Cmd,
&metafields.Cmd,
&orders.Cmd,
&products.Cmd,
&gql.Cmd,
&shop.Cmd,
&customers.Cmd,
&scripttags.Cmd,
&themes.Cmd,
&webhooks.Cmd,
},
}
err := app.Run(os.Args)
if err != nil {
fmt.Fprintln(os.Stderr, err.Error())
os.Exit(1)
}
}