Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
elixxir
client
Commits
29d71ac1
Commit
29d71ac1
authored
5 years ago
by
Jono
Browse files
Options
Downloads
Patches
Plain Diff
add nick command line variable
parent
bf2a3986
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmd/root.go
+7
-1
7 additions, 1 deletion
cmd/root.go
with
7 additions
and
1 deletion
cmd/root.go
+
7
−
1
View file @
29d71ac1
...
...
@@ -49,6 +49,7 @@ var registrationCertPath string
var
registrationAddr
string
var
registrationCode
string
var
userEmail
string
var
userNick
string
var
end2end
bool
var
keyParams
[]
string
var
client
*
api
.
Client
...
...
@@ -506,9 +507,14 @@ func init() {
rootCmd
.
PersistentFlags
()
.
StringVarP
(
&
userEmail
,
"email"
,
"E"
,
""
,
"
default@default.com
"
,
"Email to register for User Discovery"
)
rootCmd
.
PersistentFlags
()
.
StringVar
(
&
userNick
,
"nick"
,
"Default"
,
"Nickname to register for User Discovery"
)
rootCmd
.
PersistentFlags
()
.
StringVarP
(
&
sessionFile
,
"sessionfile"
,
"f"
,
""
,
"Passes a file path for loading a session. "
+
"If the file doesn't exist the code will register the user and"
+
...
...
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