Skip to content

Commit

Permalink
rename to be aztfy
Browse files Browse the repository at this point in the history
  • Loading branch information
magodo committed Aug 19, 2021
1 parent febf5ed commit f68c618
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/magodo/tfy
module github.com/magodo/aztfy

go 1.16

Expand Down
2 changes: 1 addition & 1 deletion internal/armtemplate/armtemplate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"

"github.com/magodo/tfy/internal/armtemplate"
"github.com/magodo/aztfy/internal/armtemplate"
"github.com/stretchr/testify/require"
)

Expand Down
4 changes: 2 additions & 2 deletions internal/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"path/filepath"
"strings"

"github.com/magodo/tfy/internal/armtemplate"
"github.com/magodo/aztfy/internal/armtemplate"

"github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2020-06-01/resources"
"github.com/hashicorp/go-version"
Expand All @@ -35,7 +35,7 @@ func NewMeta(ctx context.Context, rg string) (*Meta, error) {
}

// Initialize the workspace
rootDir := filepath.Join(cachedir, "tfy")
rootDir := filepath.Join(cachedir, "aztfy")
if err := os.MkdirAll(rootDir, 0755); err != nil {
return nil, fmt.Errorf("creating workspace root %q: %w", rootDir, err)
}
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import (
"fmt"
"os"

"github.com/magodo/tfy/internal"
"github.com/magodo/aztfy/internal"
)

func main() {
if len(os.Args) != 2 {
fmt.Fprintln(os.Stderr, `Usage: tfy <resource_group_name>`)
fmt.Fprintln(os.Stderr, `Usage: aztfy <resource_group_name>`)
os.Exit(1)
}

Expand Down

0 comments on commit f68c618

Please sign in to comment.