Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rekor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SafSec
rekor
Commits
85fb9eaa
Unverified
Commit
85fb9eaa
authored
4 years ago
by
axel simon
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Small improvement to help message. (#218)
Signed-off-by:
axelsimon
<
github@axelsimon.net
>
parent
3a989f96
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmd/server/app/root.go
+4
-7
4 additions, 7 deletions
cmd/server/app/root.go
cmd/server/app/watch.go
+2
-2
2 additions, 2 deletions
cmd/server/app/watch.go
with
6 additions
and
9 deletions
cmd/server/app/root.go
+
4
−
7
View file @
85fb9eaa
...
...
@@ -33,13 +33,10 @@ var logType string
// rootCmd represents the base command when called without any subcommands
var
rootCmd
=
&
cobra
.
Command
{
Use
:
"rekor-server"
,
Short
:
"A brief description of your application"
,
Long
:
`A longer description that spans multiple lines and likely contains
examples and usage of using your application. For example:
Cobra is a CLI library for Go that empowers applications.
This application is a tool to generate the needed files
to quickly create a Cobra application.`
,
Short
:
"Rekor signature transparency log server"
,
Long
:
`Rekor fulfills the signature transparency role of sigstore's software
signing infrastructure. It can also be run on its own and is designed to be
extensible to work with different manifest schemas and PKI tooling`
,
// Uncomment the following line if your bare application
// has an action associated with it:
// Run: func(cmd *cobra.Command, args []string) { },
...
...
This diff is collapsed.
Click to expand it.
cmd/server/app/watch.go
+
2
−
2
View file @
85fb9eaa
...
...
@@ -51,8 +51,8 @@ const rekorSthBucketEnv = "REKOR_STH_BUCKET"
// watchCmd represents the serve command
var
watchCmd
=
&
cobra
.
Command
{
Use
:
"watch"
,
Short
:
"
s
tart a process to watch and record STH's from Rekor"
,
Long
:
`
s
tart a process to watch and record STH's from Rekor`
,
Short
:
"
S
tart a process to watch and record STH's from Rekor"
,
Long
:
`
S
tart a process to watch and record STH's from Rekor`
,
PreRun
:
func
(
cmd
*
cobra
.
Command
,
args
[]
string
)
{
// these are bound here so that they are not overwritten by other commands
if
err
:=
viper
.
BindPFlags
(
cmd
.
Flags
());
err
!=
nil
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment