Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
burrow
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hang Yu
burrow
Commits
384bd044
Unverified
Commit
384bd044
authored
8 years ago
by
Benjamin Bollen
Browse files
Options
Downloads
Patches
Plain Diff
client: start cmd eris-client
parent
809a7eab
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
client/cmd/eris-client.go
+48
-0
48 additions, 0 deletions
client/cmd/eris-client.go
client/cmd/eris-client/main.go
+25
-0
25 additions, 0 deletions
client/cmd/eris-client/main.go
client/cmd/transaction.go
+25
-0
25 additions, 0 deletions
client/cmd/transaction.go
with
98 additions
and
0 deletions
client/cmd/eris-client.go
0 → 100644
+
48
−
0
View file @
384bd044
// Copyright 2015, 2016 Eris Industries (UK) Ltd.
// This file is part of Eris-RT
// Eris-RT is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// Eris-RT is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with Eris-RT. If not, see <http://www.gnu.org/licenses/>.
package
commands
import
(
)
// Global Do struct
var
do
*
definitions
.
Do
var
ErisClientCmd
=
&
cobra
.
Command
{
Use
:
"eris-client"
,
Short
:
"Eris-client interacts with a running Eris chain."
,
Long
:
`Eris-client interacts with a running Eris chain.
Made with <3 by Eris Industries.
Complete documentation is available at https://docs.erisindustries.com
`
+
"
\n
VERSION:
\n
"
+
version
.
VERSION
,
PersistentPreRun
:
func
(
cmd
*
cobra
.
Command
,
args
[]
string
)
{
log
.
SetLevel
(
log
.
WarnLevel
)
if
do
.
Verbose
{
log
.
SetLevel
(
log
.
InfoLevel
)
}
else
if
do
.
Debug
{
log
.
SetLevel
(
log
.
DebugLevel
)
}
},
Run
:
func
(
cmd
*
cobra
.
Command
,
args
[]
string
)
{
cmd
.
Help
()
},
}
func
Execute
()
{
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
client/cmd/eris-client/main.go
0 → 100644
+
25
−
0
View file @
384bd044
// Copyright 2015, 2016 Eris Industries (UK) Ltd.
// This file is part of Eris-RT
// Eris-RT is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// Eris-RT is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with Eris-RT. If not, see <http://www.gnu.org/licenses/>.
package
main
import
(
commands
"github.com/eris-ltd/eris-db/client/cmd"
)
func
main
()
{
commands
.
Execute
()
}
This diff is collapsed.
Click to expand it.
client/cmd/transaction.go
0 → 100644
+
25
−
0
View file @
384bd044
// Copyright 2015, 2016 Eris Industries (UK) Ltd.
// This file is part of Eris-RT
// Eris-RT is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// Eris-RT is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with Eris-RT. If not, see <http://www.gnu.org/licenses/>.
package
commands
import
(
commands
"github.com/eris-ltd/eris-db/cmd"
)
func
main
()
{
commands
.
Execute
()
}
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