19 lines
237 B
Go
19 lines
237 B
Go
|
package cmd
|
||
|
|
||
|
import (
|
||
|
"github.com/spf13/cobra"
|
||
|
)
|
||
|
|
||
|
var rootCmd = &cobra.Command{
|
||
|
Use: "huffman",
|
||
|
Short: "An archiver that uses Huffman code for compression",
|
||
|
}
|
||
|
|
||
|
func Execute() {
|
||
|
cobra.CheckErr(rootCmd.Execute())
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
|
||
|
}
|