Skip to content

Commit

Permalink
docs: add copyright message
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanCapistrano committed Jul 26, 2023
1 parent 7a6e17f commit 67fb4ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cmd/update.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
/*
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Copyright © 2023 Allan Capistrano <allan.capistrano3@gmail.com>
*/
package cmd

import (
"fmt"

"github.com/spf13/cobra"
"github.com/allancapistrano/gbc/config"
"github.com/spf13/cobra"
)

// updateCmd represents the update command
var updateCmd = &cobra.Command{
Use: "update",
Short: "Update gbc to the latest version available.",
Long: `Update gbc to the latest version available.`,
Long: `Update gbc to the latest version available.`,
Run: func(cmd *cobra.Command, args []string) {
if !config.IsLatestVersion(GBC_VERSION) {
//TODO
Expand Down
3 changes: 3 additions & 0 deletions config/updater.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright © 2023 Allan Capistrano <allan.capistrano3@gmail.com>
*/
package config

import (
Expand Down

0 comments on commit 67fb4ab

Please sign in to comment.