Skip to content

Commit 33cabd1

Browse files
committed
rename cli/ to cmd/
1 parent 12d009f commit 33cabd1

10 files changed

Lines changed: 12 additions & 12 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -682,20 +682,20 @@ f.Close()
682682

683683
## CLI usage
684684

685-
This package also provides a CLI tool for running your Featurevisor project's test specs and benchmarking against this Go SDK:
685+
This package also provides a CLI tool for running your Featurevisor [project](https://featurevisor.com/docs/projects/)'s test specs and benchmarking against this Go SDK:
686686

687687
### Test
688688

689689
Learn more about testing [here](https://featurevisor.com/docs/testing/).
690690

691691
```bash
692-
go run cli/main.go test --projectDirectoryPath="/absolute/path/to/your/featurevisor/project"
692+
go run cmd/main.go test --projectDirectoryPath="/absolute/path/to/your/featurevisor/project"
693693
```
694694

695695
Additional options that are available:
696696

697697
```bash
698-
go run cli/main.go test \
698+
go run cmd/main.go test \
699699
--projectDirectoryPath="/absolute/path/to/your/featurevisor/project" \
700700
--quiet|verbose \
701701
--onlyFailures \
@@ -705,10 +705,10 @@ go run cli/main.go test \
705705

706706
### Benchmark
707707

708-
Learn more about benchmarking [here](https://featurevisor.com/docs/cli/#benchmarking).
708+
Learn more about benchmarking [here](https://featurevisor.com/docs/cmd/#benchmarking).
709709

710710
```bash
711-
go run cli/main.go benchmark \
711+
go run cmd/main.go benchmark \
712712
--projectDirectoryPath="/absolute/path/to/your/featurevisor/project" \
713713
--environment="production" \
714714
--feature="myFeatureKey" \
@@ -718,10 +718,10 @@ go run cli/main.go benchmark \
718718

719719
### Assess distribution
720720

721-
Learn more about assessing distribution [here](https://featurevisor.com/docs/cli/#assess-distribution).
721+
Learn more about assessing distribution [here](https://featurevisor.com/docs/cmd/#assess-distribution).
722722

723723
```bash
724-
go run cli/main.go assess-distribution \
724+
go run cmd/main.go assess-distribution \
725725
--projectDirectoryPath="/absolute/path/to/your/featurevisor/project" \
726726
--environment=production \
727727
--feature=foo \

cli/go.mod

Lines changed: 0 additions & 3 deletions
This file was deleted.

cmd/go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/featurevisor/featurevisor-go/cmd
2+
3+
go 1.21

cli/main.go renamed to cmd/main.go

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

7-
"github.com/featurevisor/featurevisor-go/cli/commands"
7+
"github.com/featurevisor/featurevisor-go/cmd/commands"
88
)
99

1010
func main() {

go.work

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ go 1.22.0
22

33
use (
44
.
5-
./cli
5+
./cmd
66
)

0 commit comments

Comments
 (0)