Skip to content

Commit edbeb6c

Browse files
committed
cli: remove private flag
1 parent c8151e8 commit edbeb6c

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
name: Build
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: Set up Go 1.13
12+
- name: Set up Go 1.14
1313
uses: actions/setup-go@v1
1414
with:
15-
go-version: 1.13
15+
go-version: '^1.14'
1616
id: go
1717
- name: Install deps
1818
run: sudo apt install -y python3 pandoc

cmd/cgi-ctl/cmd_create.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ func (cmd *create) Execute(args []string) error {
6565

6666
info.Manifest.Name = filepath.Base(wd)
6767
info.Manifest.Description = cmd.Description
68-
info.Manifest.Public = cmd.Public
6968

7069
log.Println("updating manifest...")
7170
info, err = cmd.Lambdas().Update(ctx, token, info.UID, info.Manifest)

cmd/cgi-ctl/cmd_init_bare.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import (
1414
type Bare struct {
1515
Git bool `long:"git" env:"GIT" description:"Enable Git"`
1616
Description string `short:"d" long:"description" env:"DESCRIPTION" description:"Description" default:"Bare project"`
17-
Private bool `short:"P" long:"private" env:"PRIVATE" description:"Mark as private"`
1817
TimeLimit time.Duration `short:"t" long:"time-limit" env:"TIME_LIMIT" description:"Time limit for execution" default:"10s"`
1918
MaxPayload int64 `short:"p" long:"max-payload" env:"MAX_PAYLOAD" description:"Maximum payload" default:"8192"`
2019
}
@@ -34,7 +33,6 @@ func (b Bare) Execute(args []string) error {
3433
},
3534
TimeLimit: types.JsonDuration(b.TimeLimit),
3635
MaximumPayload: b.MaxPayload,
37-
Public: !b.Private,
3836
}
3937

4038
err = def.SaveAs(internal_app.ManifestFile)

0 commit comments

Comments
 (0)