Skip to content

Commit e177476

Browse files
committed
cleanup projects
1 parent 3615a0a commit e177476

File tree

11 files changed

+21
-9
lines changed

11 files changed

+21
-9
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ test: ## run go tests
1616

1717
PHONY: PB
1818
PB: ## build pocketbase
19-
go build app/pb/main.go
19+
go build app/pb/pbserver.go
2020

2121
integration-test: ### run integration-test
2222
go clean -testcache && go test -v ./integration-test/...

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# README
22

3+
## fluent cli
4+
5+
- create template project
6+
```shell
7+
fluent starter -h
8+
fluent starter java
9+
fluent starter python
10+
fluent starter go
11+
fluent starter ts-lib
12+
fluent starter mono
13+
```
14+
315
## Pocketbase Server
416

517
```shell
File renamed without changes.

cmd/fluent.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ package main
22

33
import (
44
"github.com/fluent-qa/qgops/cmd/base"
5-
"github.com/fluent-qa/qgops/cmd/code" // Add this import
5+
"github.com/fluent-qa/qgops/cmd/starter" // Add this import
66
)
77

88
func init() {
9-
base.CmdRoot.AddCommand(code.StarterCmd)
9+
base.CmdRoot.AddCommand(starter.StarterCmd)
1010
}
1111
func main() {
1212
_ = base.CmdRoot.Execute()

cmd/code/commands.go renamed to cmd/starter/commands.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package code
1+
package starter
22

33
import (
44
_ "log/slog"

cmd/code/commands_test.go renamed to cmd/starter/commands_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package code
1+
package starter
22

33
import (
44
"fmt"
File renamed without changes.

internal/utils/shell/script.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ func (p *Pipe) Do(req *http.Request) *Pipe {
317317
return err
318318
}
319319
defer resp.Body.Close()
320-
// Any HTTP 2xx status code is considered okay
320+
// Any HTTP 2xx status starter is considered okay
321321
if resp.StatusCode/100 != 2 {
322322
return fmt.Errorf("unexpected HTTP response status: %s", resp.Status)
323323
}

scripts/bash-commons/src/aws.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function aws_get_instance_metadata_version_in_use {
100100
##################################################################################
101101
# The following functions aim to support backward compatibility with IMDSv1 by
102102
# maintaining the arity of all previous function calls, but using $default_instance_metadata_version
103-
# to determine which implementation's code path to follow
103+
# to determine which implementation's starter path to follow
104104

105105
# This function has been modified to simultaneously support Instance Metadata service versions 1 and 2
106106
# This is due to the fact that we will need to operate in a split-brain mode while all our dependent

scripts/bash-commons/src/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
# Sets some Bash options to encourage well formed code.
2+
# Sets some Bash options to encourage well formed starter.
33
# For example, some of the options here will cause the script to terminate as
44
# soon as a command fails. Another option will cause an error if an undefined
55
# variable is used.

scripts/bash-commons/src/os.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function os_user_is_root_or_sudo {
8585
[[ "$EUID" == 0 ]]
8686
}
8787

88-
# Returns a zero exit code if the given $username exists
88+
# Returns a zero exit starter if the given $username exists
8989
function os_user_exists {
9090
local -r username="$1"
9191
id "$username" >/dev/null 2>&1

0 commit comments

Comments
 (0)