Skip to content

Commit

Permalink
change cmd package name
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-cha committed Aug 6, 2024
1 parent 2404bfb commit 6d5ec43
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cmd/opinitd/context.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package cmd

import (
"github.com/spf13/viper"
Expand Down
2 changes: 1 addition & 1 deletion cmd/opinitd/flags.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package cmd

import (
"os"
Expand Down
2 changes: 1 addition & 1 deletion cmd/opinitd/init.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package cmd

import (
"encoding/json"
Expand Down
3 changes: 2 additions & 1 deletion cmd/opinitd/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package main
package cmd

import (
"bufio"
Expand Down Expand Up @@ -68,6 +68,7 @@ func keysAddCmd(ctx *cmdContext) *cobra.Command {
Example: strings.TrimSpace(`
$ keys add localnet key1
$ keys add l2 key2 --bech32 celestia
$ keys add l2 key2 --recover
$ keys add l2 key2 --recover --source mnemonic.txt`),
RunE: func(cmd *cobra.Command, args []string) error {
chainId := args[0]
Expand Down
2 changes: 1 addition & 1 deletion cmd/opinitd/reset.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package cmd

import (
"os"
Expand Down
2 changes: 1 addition & 1 deletion cmd/opinitd/root.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package cmd

import (
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion cmd/opinitd/start.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package cmd

import (
"context"
Expand Down

0 comments on commit 6d5ec43

Please sign in to comment.