Skip to content

Commit db0b6f7

Browse files
committed
fix: rename entrypoint
1 parent cc7a739 commit db0b6f7

12 files changed

Lines changed: 28 additions & 28 deletions

File tree

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ jobs:
4343
4444
- name: Run binary
4545
run: |
46-
./lazyfile --help
46+
./hackstack --help

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ site/
2323
.idea
2424
.DS_Store
2525
node_modules
26-
lazyfile
26+
hackstack
2727

2828
# Go workspace
2929
go.work

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# LazyFile CLI
1+
# Hackstack CLI
22

33
---
44

cli/command/cmds/commands.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package cmds
33
import (
44
"fmt"
55

6-
"github.com/jgfranco17/lazyfile/cli/internal/errorhandling"
7-
"github.com/jgfranco17/lazyfile/cli/internal/logging"
6+
"github.com/jgfranco17/hackstack/cli/internal/errorhandling"
7+
"github.com/jgfranco17/hackstack/cli/internal/logging"
88
"github.com/spf13/cobra"
99
)
1010

cli/command/registry.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
"os/signal"
99
"syscall"
1010

11-
"github.com/jgfranco17/lazyfile/cli/command/cmds"
12-
"github.com/jgfranco17/lazyfile/cli/internal/errorhandling"
13-
"github.com/jgfranco17/lazyfile/cli/internal/logging"
11+
"github.com/jgfranco17/hackstack/cli/command/cmds"
12+
"github.com/jgfranco17/hackstack/cli/internal/errorhandling"
13+
"github.com/jgfranco17/hackstack/cli/internal/logging"
1414
"github.com/sirupsen/logrus"
1515
"github.com/spf13/cobra"
1616
)

cli/command/registry_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"bytes"
55
"testing"
66

7-
"github.com/jgfranco17/lazyfile/cli/internal/logging"
7+
"github.com/jgfranco17/hackstack/cli/internal/logging"
88
"github.com/sirupsen/logrus"
99
"github.com/spf13/cobra"
1010
"github.com/stretchr/testify/assert"

cli/entrypoint/entrypoint.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66
"os"
77

8-
"github.com/jgfranco17/lazyfile/cli/command"
8+
"github.com/jgfranco17/hackstack/cli/command"
99
"github.com/spf13/cobra"
1010
)
1111

@@ -23,7 +23,7 @@ func Run(metadata []byte) {
2323
}
2424

2525
command, err := command.New(command.RootCommandOptions{
26-
Name: "lazyfile",
26+
Name: "hackstack",
2727
Description: projectMetadata.Description,
2828
Version: projectMetadata.Version,
2929
})

cli/internal/errorhandling/errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func (e *CommandError) String() string {
2626

2727
var renderedMessage strings.Builder
2828
renderedMessage.WriteString("\n")
29-
renderedMessage.WriteString(redBoldFmt("[ERROR] Lazyfile internal error: %s\n", e.Err.Error()))
29+
renderedMessage.WriteString(redBoldFmt("[ERROR] Hackstack internal error: %s\n", e.Err.Error()))
3030
if e.HelpText != "" {
3131
renderedMessage.WriteString(fmt.Sprintf("[HELP] %s", e.HelpText))
3232
}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/jgfranco17/lazyfile
1+
module github.com/jgfranco17/hackstack
22

33
go 1.24.0
44

justfile

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ tidy:
1212
@echo "All modules synced, Go workspace ready!"
1313

1414
# CLI local run wrapper
15-
lazyfile *args:
15+
hackstack *args:
1616
@go run . {{ args }}
1717

1818
# Run all BDD tests
@@ -37,29 +37,29 @@ build:
3737
*) echo "Error: Unsupported architecture (${ENV_ARCH})"; exit 1 ;;
3838
esac
3939

40-
echo "Building lazyfile for ${OS}/${ARCH}..."
40+
echo "Building hackstack for ${OS}/${ARCH}..."
4141
go mod download all
42-
CGO_ENABLED=0 GOOS="${OS}" GOARCH="${ARCH}" go build -o ./lazyfile .
43-
echo "Built binary for lazyfile successfully!"
42+
CGO_ENABLED=0 GOOS="${OS}" GOARCH="${ARCH}" go build -o ./hackstack .
43+
echo "Built binary for hackstack successfully!"
4444

4545
# Install the binary locally
4646
install-local: build
4747
#!/usr/bin/env bash
4848
set -eux
49-
echo "Installing lazyfile locally..."
50-
BIN_PATH="{{ INSTALL_PATH }}/bin/lazyfile"
51-
cp ./lazyfile "${BIN_PATH}"
49+
echo "Installing hackstack locally..."
50+
BIN_PATH="{{ INSTALL_PATH }}/bin/hackstack"
51+
cp ./hackstack "${BIN_PATH}"
5252
chmod +x "${BIN_PATH}"
53-
echo "Installed lazyfile locally!"
53+
echo "Installed hackstack locally!"
5454

5555
# Remove the local binary
5656
uninstall-local:
5757
#!/usr/bin/env bash
5858
set -eux
59-
echo "Uninstalling lazyfile..."
60-
BIN_PATH="{{ INSTALL_PATH }}/bin/lazyfile"
59+
echo "Uninstalling hackstack..."
60+
BIN_PATH="{{ INSTALL_PATH }}/bin/hackstack"
6161
rm "${BIN_PATH}"
62-
echo "Uninstalled lazyfile!"
62+
echo "Uninstalled hackstack!"
6363

6464
# Update the project dependencies
6565
update-deps:

0 commit comments

Comments
 (0)