Skip to content
Snippets Groups Projects
Unverified Commit 384bd044 authored by Benjamin Bollen's avatar Benjamin Bollen
Browse files

client: start cmd eris-client

parent 809a7eab
No related branches found
No related tags found
No related merge requests found
// 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
` + "\nVERSION:\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
// 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()
}
// 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()
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment